GetReportsResponse.fromJson constructor

GetReportsResponse.fromJson(
  1. Map json_
)

Implementation

GetReportsResponse.fromJson(core.Map json_)
    : this(
        queryCost: json_['queryCost'] as core.int?,
        reports: (json_['reports'] as core.List?)
            ?.map((value) =>
                Report.fromJson(value as core.Map<core.String, core.dynamic>))
            .toList(),
        resourceQuotasRemaining: json_.containsKey('resourceQuotasRemaining')
            ? ResourceQuotasRemaining.fromJson(
                json_['resourceQuotasRemaining']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );