Runtime.fromJson constructor
Runtime.fromJson(
- Map _json
Implementation
Runtime.fromJson(core.Map _json)
: this(
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,
);