mapListFromJson static method
Implementation
static Map<String, List<ResourceOwner?>?> mapListFromJson(
dynamic json, {
bool? emptyIsNull,
bool? growable,
}) {
final map = <String, List<ResourceOwner?>?>{};
if (json is Map && json.isNotEmpty) {
json.cast<String, dynamic>().forEach((key, dynamic value) {
map[key] = ResourceOwner.listFromJson(
value,
emptyIsNull: emptyIsNull,
growable: growable,
);
});
}
return map;
}