UpdateFavoriteStickers.fromJson constructor

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

Parse from a json

Implementation

factory UpdateFavoriteStickers.fromJson(Map<String, dynamic> json) =>
    UpdateFavoriteStickers(
      stickerIds: List<int>.from(
          (json['sticker_ids'] ?? []).map((item) => item).toList()),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );