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