UpdateAvailableMessageEffects.fromJson constructor
Parse from a json
Implementation
factory UpdateAvailableMessageEffects.fromJson(Map<String, dynamic> json) =>
UpdateAvailableMessageEffects(
reactionEffectIds: List<int>.from((json['reaction_effect_ids'] ?? [])
.map((item) => item is int ? item : int.parse(item))
.toList()),
stickerEffectIds: List<int>.from((json['sticker_effect_ids'] ?? [])
.map((item) => item is int ? item : int.parse(item))
.toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);