toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (batchSize != null) 'batchSize': batchSize!,
      if (dataFormat != null) 'dataFormat': dataFormat!,
      if (inputPaths != null) 'inputPaths': inputPaths!,
      if (maxWorkerCount != null) 'maxWorkerCount': maxWorkerCount!,
      if (modelName != null) 'modelName': modelName!,
      if (outputDataFormat != null) 'outputDataFormat': outputDataFormat!,
      if (outputPath != null) 'outputPath': outputPath!,
      if (region != null) 'region': region!,
      if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!,
      if (signatureName != null) 'signatureName': signatureName!,
      if (uri != null) 'uri': uri!,
      if (versionName != null) 'versionName': versionName!,
    };