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