UpdateTrendingStickerSets.fromJson constructor

UpdateTrendingStickerSets.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory UpdateTrendingStickerSets.fromJson(Map<String, dynamic> json) =>
    UpdateTrendingStickerSets(
      stickerType: StickerType.fromJson(json['sticker_type']),
      stickerSets: TrendingStickerSets.fromJson(json['sticker_sets']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );