AbuseReport.fromJson constructor
AbuseReport.fromJson(
- Map json_
Implementation
AbuseReport.fromJson(core.Map json_)
: this(
abuseTypes: json_.containsKey('abuseTypes')
? (json_['abuseTypes'] as core.List)
.map((value) => AbuseType.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
relatedEntities: json_.containsKey('relatedEntities')
? (json_['relatedEntities'] as core.List)
.map((value) => RelatedEntity.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
subject: json_.containsKey('subject')
? Entity.fromJson(
json_['subject'] as core.Map<core.String, core.dynamic>)
: null,
);