GetBackgroundUrl.fromMap constructor

GetBackgroundUrl.fromMap(
  1. Map<String, dynamic> map
)

Implementation

GetBackgroundUrl.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  name = map['name'];
  if (map['type'] != null) {
    type = TdApiMap.fromMap(map['type']) as BackgroundType;
  }
}