fromJson static method
Implementation
static UpgradedGiftBackdropColors? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return UpgradedGiftBackdropColors(
centerColor: (json['center_color'] as int?) ?? 0,
edgeColor: (json['edge_color'] as int?) ?? 0,
symbolColor: (json['symbol_color'] as int?) ?? 0,
textColor: (json['text_color'] as int?) ?? 0,
);
}