JobSpec.fromJson constructor

JobSpec.fromJson(
  1. Map json_
)

Implementation

JobSpec.fromJson(core.Map json_)
    : this(
        runExecutionToken: json_.containsKey('runExecutionToken')
            ? json_['runExecutionToken'] as core.String
            : null,
        startExecutionToken: json_.containsKey('startExecutionToken')
            ? json_['startExecutionToken'] as core.String
            : null,
        template: json_.containsKey('template')
            ? ExecutionTemplateSpec.fromJson(
                json_['template'] as core.Map<core.String, core.dynamic>)
            : null,
      );