ExecutionConfig.fromJson constructor
ExecutionConfig.fromJson(
- Map json_
Implementation
ExecutionConfig.fromJson(core.Map json_)
: this(
artifactStorage: json_.containsKey('artifactStorage')
? json_['artifactStorage'] as core.String
: null,
defaultPool: json_.containsKey('defaultPool')
? DefaultPool.fromJson(
json_['defaultPool'] as core.Map<core.String, core.dynamic>)
: null,
executionTimeout: json_.containsKey('executionTimeout')
? json_['executionTimeout'] as core.String
: null,
privatePool: json_.containsKey('privatePool')
? PrivatePool.fromJson(
json_['privatePool'] as core.Map<core.String, core.dynamic>)
: null,
serviceAccount: json_.containsKey('serviceAccount')
? json_['serviceAccount'] as core.String
: null,
usages: json_.containsKey('usages')
? (json_['usages'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
verbose: json_.containsKey('verbose')
? json_['verbose'] as core.bool
: null,
workerPool: json_.containsKey('workerPool')
? json_['workerPool'] as core.String
: null,
);