SuspiciousActivity.fromJson constructor
SuspiciousActivity.fromJson(
- Map _json
Implementation
SuspiciousActivity.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<SuspiciousActivitySecurityDetail>((value) =>
SuspiciousActivitySecurityDetail.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);