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