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