IaCValidationReport.fromJson constructor

IaCValidationReport.fromJson(
  1. Map json_
)

Implementation

IaCValidationReport.fromJson(core.Map json_)
  : this(
      note: json_['note'] as core.String?,
      violations: (json_['violations'] as core.List?)
          ?.map(
            (value) => Violation.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );