fromJson static method
Implementation
static GiftUpgradePrice? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return GiftUpgradePrice(
date: (json['date'] as int?) ?? 0,
starCount: (json['star_count'] as int?) ?? 0,
);
}