ExecStepConfig.fromJson constructor
ExecStepConfig.fromJson(
- Map json_
Implementation
ExecStepConfig.fromJson(core.Map json_)
: this(
allowedSuccessCodes: json_.containsKey('allowedSuccessCodes')
? (json_['allowedSuccessCodes'] as core.List)
.map((value) => value as core.int)
.toList()
: null,
gcsObject: json_.containsKey('gcsObject')
? GcsObject.fromJson(
json_['gcsObject'] as core.Map<core.String, core.dynamic>)
: null,
interpreter: json_.containsKey('interpreter')
? json_['interpreter'] as core.String
: null,
localPath: json_.containsKey('localPath')
? json_['localPath'] as core.String
: null,
);