toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final args = this.args;
  final baseImageUri = this.baseImageUri;
  final buildInfo = this.buildInfo;
  final command = this.command;
  final dependsOn = this.dependsOn;
  final env = this.env;
  final image = this.image;
  final livenessProbe = this.livenessProbe;
  final name = this.name;
  final ports = this.ports;
  final readinessProbe = this.readinessProbe;
  final resources = this.resources;
  final sourceCode = this.sourceCode;
  final startupProbe = this.startupProbe;
  final volumeMounts = this.volumeMounts;
  final workingDir = this.workingDir;
  return {
    'args': ?args,
    'baseImageUri': ?baseImageUri,
    'buildInfo': ?buildInfo,
    'command': ?command,
    'dependsOn': ?dependsOn,
    'env': ?env,
    'image': ?image,
    'livenessProbe': ?livenessProbe,
    'name': ?name,
    'ports': ?ports,
    'readinessProbe': ?readinessProbe,
    'resources': ?resources,
    'sourceCode': ?sourceCode,
    'startupProbe': ?startupProbe,
    'volumeMounts': ?volumeMounts,
    'workingDir': ?workingDir,
  };
}