ValidationReport.fromJson constructor

ValidationReport.fromJson(
  1. Map json_
)

Implementation

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