AuditRefs.fromJson constructor
AuditRefs.fromJson(
- Map json_
Implementation
AuditRefs.fromJson(core.Map json_)
: this(
acronym: json_.containsKey('acronym')
? json_['acronym'] as core.String
: null,
group:
json_.containsKey('group') ? json_['group'] as core.String : null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
relevantAudits: json_.containsKey('relevantAudits')
? (json_['relevantAudits'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
weight: json_.containsKey('weight')
? (json_['weight'] as core.num).toDouble()
: null,
);