toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceleratorConfig != null) 'acceleratorConfig': acceleratorConfig!,
      if (containerArgs != null) 'containerArgs': containerArgs!,
      if (containerCommand != null) 'containerCommand': containerCommand!,
      if (diskConfig != null) 'diskConfig': diskConfig!,
      if (imageUri != null) 'imageUri': imageUri!,
      if (tpuTfVersion != null) 'tpuTfVersion': tpuTfVersion!,
    };