mapFromJson static method
Implementation
static Map<String, Scripts?> mapFromJson(dynamic json) {
final map = <String, Scripts?>{};
if (json is Map && json.isNotEmpty) {
json
.cast<String, dynamic>()
.forEach((key, dynamic value) => map[key] = Scripts.fromJson(value));
}
return map;
}