ValidationReport.fromJson constructor

ValidationReport.fromJson(
  1. Map json_
)

Implementation

ValidationReport.fromJson(core.Map json_)
    : this(
        fileValidations: json_.containsKey('fileValidations')
            ? (json_['fileValidations'] as core.List)
                .map((value) => FileValidationReport.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        jobErrors: json_.containsKey('jobErrors')
            ? (json_['jobErrors'] as core.List)
                .map((value) => ImportError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );