XrayUser.fromJson constructor
XrayUser.fromJson(
- Object? json
Implementation
factory XrayUser.fromJson(Object? json) {
final map = asJsonMap(json, 'user');
return XrayUser(
email: map['email'] as String?, level: map['level'] as int?);
}