toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final allowExitCodes = this.allowExitCodes;
  final allowFailure = this.allowFailure;
  final args = this.args;
  final automapSubstitutions = this.automapSubstitutions;
  final dir = this.dir;
  final entrypoint = this.entrypoint;
  final env = this.env;
  final exitCode = this.exitCode;
  final id = this.id;
  final name = this.name;
  final pullTiming = this.pullTiming;
  final script = this.script;
  final secretEnv = this.secretEnv;
  final status = this.status;
  final timeout = this.timeout;
  final timing = this.timing;
  final volumes = this.volumes;
  final waitFor = this.waitFor;
  return {
    'allowExitCodes': ?allowExitCodes,
    'allowFailure': ?allowFailure,
    'args': ?args,
    'automapSubstitutions': ?automapSubstitutions,
    'dir': ?dir,
    'entrypoint': ?entrypoint,
    'env': ?env,
    'exitCode': ?exitCode,
    'id': ?id,
    'name': ?name,
    'pullTiming': ?pullTiming,
    'script': ?script,
    'secretEnv': ?secretEnv,
    'status': ?status,
    'timeout': ?timeout,
    'timing': ?timing,
    'volumes': ?volumes,
    'waitFor': ?waitFor,
  };
}