toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() => {
      ...super.toJson(),
      if (noDebug != null) 'noDebug': noDebug,
      'program': program,
      if (args != null) 'args': args,
      if (toolArgs != null) 'toolArgs': toolArgs,
      if (vmAdditionalArgs != null) 'vmAdditionalArgs': vmAdditionalArgs,
      if (vmServicePort != null) 'vmServicePort': vmServicePort,
      if (console != null) 'console': console,
      if (customTool != null) 'customTool': customTool,
      if (customToolReplacesArgs != null)
        'customToolReplacesArgs': customToolReplacesArgs,
    };