fromJson static method
Inherited by: CollectibleItemTypePhoneNumber CollectibleItemTypeUsername
Implementation
static CollectibleItemTypePhoneNumber? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return CollectibleItemTypePhoneNumber(
phoneNumber: (json['phone_number'] as String?) ?? '',
);
}