export class Preference { public avatarUrl : string ; public preferredLang : string ; public constructor ( data = { } ) { this . avatarUrl = data . avatarUrl || '' ; this . preferredLang = data . preferredLang || null ; } }