toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'name'] = name;
  json[r'description'] = description;
  json[r'script'] = script;
  json[r'language'] = language;
  return json;
}