FindingSource.fromJson constructor
Implementation
factory FindingSource.fromJson(Map<String, dynamic> json) {
return FindingSource(
type: (json['type'] as String).toFindingSourceType(),
detail: json['detail'] != null
? FindingSourceDetail.fromJson(json['detail'] as Map<String, dynamic>)
: null,
);
}