UpdateTrendingStickerSets.fromMap constructor

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

Implementation

UpdateTrendingStickerSets.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  if (map['sticker_type'] != null) {
    sticker_type = TdApiMap.fromMap(map['sticker_type']) as StickerType;
  }
  if (map['sticker_sets'] != null) {
    sticker_sets = TdApiMap.fromMap(map['sticker_sets']) as TrendingStickerSets;
  }
}