toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (args != null) 'args': args!,
      if (file != null) 'file': file!,
      if (interpreter != null) 'interpreter': interpreter!,
      if (outputFilePath != null) 'outputFilePath': outputFilePath!,
      if (script != null) 'script': script!,
    };