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