Runtime.fromJson constructor
Runtime.fromJson(
- Map json_
Implementation
Runtime.fromJson(core.Map json_)
: this(
decommissionedDate: json_.containsKey('decommissionedDate')
? Date.fromJson(json_['decommissionedDate']
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_['displayName'] as core.String?,
endOfSupportDate: json_.containsKey('endOfSupportDate')
? Date.fromJson(json_['endOfSupportDate']
as core.Map<core.String, core.dynamic>)
: null,
environment: json_['environment'] as core.String?,
name: json_['name'] as core.String?,
stage: json_['stage'] as core.String?,
supportedOperatingSystems:
(json_['supportedOperatingSystems'] as core.List?)
?.map((value) => value as core.String)
.toList(),
warnings: (json_['warnings'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);