export class UserSettings { public language : string ; public currency : string ; public wordlistLanguage : string ; public darkMode : boolean ; public notification : boolean ; public devMode : boolean ; constructor ( ) { } public static defaults ( lang ) { const settings = new UserSettings ( ) ; settings . language = lang ; settings . currency = "usd" ; settings . wordlistLanguage = "english" ; settings . darkMode = false ; settings . notification = false ; settings . devMode = false ; return settings ; } }