GoogleCloudBillingBudgetsV1ListBudgetsResponse.fromJson constructor Null safety

GoogleCloudBillingBudgetsV1ListBudgetsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudBillingBudgetsV1ListBudgetsResponse.fromJson(core.Map _json)
    : this(
        budgets: _json.containsKey('budgets')
            ? (_json['budgets'] as core.List)
                .map((value) => GoogleCloudBillingBudgetsV1Budget.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );