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