GoogleCloudChannelV1TransferEntitlementsRequest.fromJson constructor

GoogleCloudChannelV1TransferEntitlementsRequest.fromJson(
  1. Map json_
)

Implementation

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