fromJson static method
Inherited by: ProfileShareThemeEmoji ProfileShareThemeUpgradedGift
Implementation
static ProfileShareThemeUpgradedGift? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ProfileShareThemeUpgradedGift(
gift: UpgradedGift.fromJson(json['gift'] as Map<String, dynamic>?)!,
);
}