ErrorInfo.fromJson constructor

ErrorInfo.fromJson(
  1. Map json_
)

Implementation

ErrorInfo.fromJson(core.Map json_)
  : this(
      errorCounts: (json_['errorCounts'] as core.List?)
          ?.map(
            (value) => ErrorCount.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );