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