mapFromJson static method
Implementation
static Map<String, ConfigurationMemberType> mapFromJson(
Map<String, dynamic>? json) {
if (json == null) {
return <String, ConfigurationMemberType>{};
}
return json.entries.fold(<String, ConfigurationMemberType>{},
(Map<String, ConfigurationMemberType> previousValue, element) {
final ConfigurationMemberType? object =
ConfigurationMemberType.fromJson(element.value);
if (object is ConfigurationMemberType) {
previousValue[element.key] = object;
}
return previousValue;
});
}