fromJson static method
Returns a new ConfigurationMemberType instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static ConfigurationMemberType? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ConfigurationMemberType(
id: json[r'id'],
roles: MemberTypeRole.listFromJson(json[r'roles']),
type: json[r'type'],
);
}