UpdateInstalledStickerSets.fromJson constructor

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

Parse from a json

Implementation

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