fromJson static method
Inherited by: UpgradedGiftAttributeIdBackdrop UpgradedGiftAttributeIdModel UpgradedGiftAttributeIdSymbol
Implementation
static UpgradedGiftAttributeIdSymbol? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return UpgradedGiftAttributeIdSymbol(
stickerId:
int.tryParse((json['sticker_id'] as dynamic)?.toString() ?? '') ?? 0,
);
}