BatchRunReportsResponse.fromJson constructor

BatchRunReportsResponse.fromJson(
  1. Map _json
)

Implementation

BatchRunReportsResponse.fromJson(core.Map _json)
    : this(
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        reports: _json.containsKey('reports')
            ? (_json['reports'] as core.List)
                .map<RunReportResponse>((value) => RunReportResponse.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );