UpdateRecentStickers.fromJson constructor

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

Parse from a json

Implementation

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