toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final acceleratorCount = this.acceleratorCount;
  final acceleratorType = this.acceleratorType;
  final gpuDriverInstallationConfig = this.gpuDriverInstallationConfig;
  final gpuPartitionSize = this.gpuPartitionSize;
  final gpuSharingConfig = this.gpuSharingConfig;
  return {
    'acceleratorCount': ?acceleratorCount,
    'acceleratorType': ?acceleratorType,
    'gpuDriverInstallationConfig': ?gpuDriverInstallationConfig,
    'gpuPartitionSize': ?gpuPartitionSize,
    'gpuSharingConfig': ?gpuSharingConfig,
  };
}