UpdateInstalledStickerSets.fromJson constructor

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

Parse from a json

Implementation

factory UpdateInstalledStickerSets.fromJson(Map<String, dynamic> json) => UpdateInstalledStickerSets(
  isMasks: json['is_masks'],
  stickerSetIds: List<int>.from((json['sticker_set_ids'] ?? []).map((item) => item).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);