fromJson static method
Returns a new ReportLinks instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static ReportLinks? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ReportLinks(
asset: ReportLinksAsset.fromJson(json[r'asset']),
category: ReportLinksCategory.fromJson(json[r'category']),
children: ReportLinksChildren.fromJson(json[r'children']),
equipment: ReportLinksEquipment.fromJson(json[r'equipment']),
feedback: ReportLinksFeedback.fromJson(json[r'feedback']),
operations: ReportLinksOperations.fromJson(json[r'operations']),
organization: ReportLinksOrganization.fromJson(json[r'organization']),
place: ReportLinksPlace.fromJson(json[r'place']),
self: ReportLinksSelf.fromJson(json[r'self']),
tracking: ReportLinksTracking.fromJson(json[r'tracking']),
);
}