FileValidationReport.fromJson constructor
FileValidationReport.fromJson(
- Map json_
Implementation
FileValidationReport.fromJson(core.Map json_)
: this(
fileErrors: (json_['fileErrors'] as core.List?)
?.map((value) => ImportError.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
fileName: json_['fileName'] as core.String?,
partialReport: json_['partialReport'] as core.bool?,
rowErrors: (json_['rowErrors'] as core.List?)
?.map((value) => ImportRowError.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
);