ExecutionTemplateSpec.fromJson constructor

ExecutionTemplateSpec.fromJson(
  1. Map json_
)

Implementation

ExecutionTemplateSpec.fromJson(core.Map json_)
    : this(
        metadata: json_.containsKey('metadata')
            ? ObjectMeta.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        spec: json_.containsKey('spec')
            ? ExecutionSpec.fromJson(
                json_['spec'] as core.Map<core.String, core.dynamic>)
            : null,
      );