Variable.fromJson constructor
Variable.fromJson(
- Map json_
Implementation
Variable.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
containerId: json_.containsKey('containerId')
? json_['containerId'] as core.String
: null,
disablingTriggerId: json_.containsKey('disablingTriggerId')
? (json_['disablingTriggerId'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
enablingTriggerId: json_.containsKey('enablingTriggerId')
? (json_['enablingTriggerId'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
fingerprint: json_.containsKey('fingerprint')
? json_['fingerprint'] as core.String
: null,
formatValue: json_.containsKey('formatValue')
? VariableFormatValue.fromJson(
json_['formatValue'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
notes:
json_.containsKey('notes') ? json_['notes'] as core.String : null,
parameter: json_.containsKey('parameter')
? (json_['parameter'] as core.List)
.map((value) => Parameter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
parentFolderId: json_.containsKey('parentFolderId')
? json_['parentFolderId'] as core.String
: null,
path: json_.containsKey('path') ? json_['path'] as core.String : null,
scheduleEndMs: json_.containsKey('scheduleEndMs')
? json_['scheduleEndMs'] as core.String
: null,
scheduleStartMs: json_.containsKey('scheduleStartMs')
? json_['scheduleStartMs'] as core.String
: null,
tagManagerUrl: json_.containsKey('tagManagerUrl')
? json_['tagManagerUrl'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
variableId: json_.containsKey('variableId')
? json_['variableId'] as core.String
: null,
workspaceId: json_.containsKey('workspaceId')
? json_['workspaceId'] as core.String
: null,
);