Environment.fromJson constructor
Environment.fromJson(
- Map _json
Implementation
Environment.fromJson(core.Map _json)
: this(
androidDevice: _json.containsKey('androidDevice')
? AndroidDevice.fromJson(
_json['androidDevice'] as core.Map<core.String, core.dynamic>)
: null,
iosDevice: _json.containsKey('iosDevice')
? IosDevice.fromJson(
_json['iosDevice'] as core.Map<core.String, core.dynamic>)
: null,
);