DeviceCompromised.fromJson constructor
DeviceCompromised.fromJson(
- Map _json
Implementation
DeviceCompromised.fromJson(core.Map _json)
: this(
email:
_json.containsKey('email') ? _json['email'] as core.String : null,
events: _json.containsKey('events')
? (_json['events'] as core.List)
.map<DeviceCompromisedSecurityDetail>((value) =>
DeviceCompromisedSecurityDetail.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);