SetBackground.fromMap constructor
Implementation
SetBackground.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['background'] != null) {
background = TdApiMap.fromMap(map['background']) as InputBackground;
}
if (map['type'] != null) {
type = TdApiMap.fromMap(map['type']) as BackgroundType;
}
for_dark_theme = map['for_dark_theme'];
}