GoogleCloudIntegrationsV1alphaListSuspensionsResponse.fromJson constructor

GoogleCloudIntegrationsV1alphaListSuspensionsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaListSuspensionsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        suspensions: json_.containsKey('suspensions')
            ? (json_['suspensions'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaSuspension.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );