GoogleCloudChannelV1CustomerConstraints.fromJson constructor

GoogleCloudChannelV1CustomerConstraints.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1CustomerConstraints.fromJson(core.Map json_)
  : this(
      allowedCustomerTypes: (json_['allowedCustomerTypes'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      allowedRegions: (json_['allowedRegions'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      promotionalOrderTypes: (json_['promotionalOrderTypes'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
    );