toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (restart != null) 'restart': restart,
      if (name != null) 'name': name,
      if (cwd != null) 'cwd': cwd,
      if (env != null) 'env': env,
      if (additionalProjectPaths != null)
        'additionalProjectPaths': additionalProjectPaths,
      if (debugSdkLibraries != null) 'debugSdkLibraries': debugSdkLibraries,
      if (debugExternalPackageLibraries != null)
        'debugExternalPackageLibraries': debugExternalPackageLibraries,
      if (showGettersInDebugViews != null)
        'showGettersInDebugViews': showGettersInDebugViews,
      if (evaluateGettersInDebugViews != null)
        'evaluateGettersInDebugViews': evaluateGettersInDebugViews,
      if (evaluateToStringInDebugViews != null)
        'evaluateToStringInDebugViews': evaluateToStringInDebugViews,
      if (sendLogsToClient != null) 'sendLogsToClient': sendLogsToClient,
      if (sendCustomProgressEvents != null)
        'sendCustomProgressEvents': sendCustomProgressEvents,
      if (allowAnsiColorOutput != null)
        'allowAnsiColorOutput': allowAnsiColorOutput,
    };