GoogleCloudChannelV1TransferEntitlementsRequest.fromJson constructor

GoogleCloudChannelV1TransferEntitlementsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1TransferEntitlementsRequest.fromJson(core.Map json_)
    : this(
        authToken: json_.containsKey('authToken')
            ? json_['authToken'] as core.String
            : null,
        entitlements: json_.containsKey('entitlements')
            ? (json_['entitlements'] as core.List)
                .map((value) => GoogleCloudChannelV1Entitlement.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
      );