GetReportsResponse.fromJson constructor

GetReportsResponse.fromJson(
  1. Map json_
)

Implementation

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