toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final args = this.args;
  final command = this.command;
  final deploymentTimeout = this.deploymentTimeout;
  final env = this.env;
  final grpcPorts = this.grpcPorts;
  final healthProbe = this.healthProbe;
  final healthRoute = this.healthRoute;
  final imageUri = this.imageUri;
  final invokeRoutePrefix = this.invokeRoutePrefix;
  final livenessProbe = this.livenessProbe;
  final ports = this.ports;
  final predictRoute = this.predictRoute;
  final sharedMemorySizeMb = this.sharedMemorySizeMb;
  final startupProbe = this.startupProbe;
  return {
    'args': ?args,
    'command': ?command,
    'deploymentTimeout': ?deploymentTimeout,
    'env': ?env,
    'grpcPorts': ?grpcPorts,
    'healthProbe': ?healthProbe,
    'healthRoute': ?healthRoute,
    'imageUri': ?imageUri,
    'invokeRoutePrefix': ?invokeRoutePrefix,
    'livenessProbe': ?livenessProbe,
    'ports': ?ports,
    'predictRoute': ?predictRoute,
    'sharedMemorySizeMb': ?sharedMemorySizeMb,
    'startupProbe': ?startupProbe,
  };
}