Runtime.fromJson constructor
Runtime.fromJson(
- Map json_
Implementation
Runtime.fromJson(core.Map json_)
: this(
decommissionDate: json_.containsKey('decommissionDate')
? Date.fromJson(json_['decommissionDate']
as core.Map<core.String, core.dynamic>)
: null,
deprecationDate: json_.containsKey('deprecationDate')
? Date.fromJson(json_['deprecationDate']
as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
environment: json_.containsKey('environment')
? json_['environment'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
stage:
json_.containsKey('stage') ? json_['stage'] as core.String : null,
warnings: json_.containsKey('warnings')
? (json_['warnings'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);