ServicePointQuery constructor
ServicePointQuery({
- ContinuationToken? continuation,
- AccountId? accountId,
- Address? address,
- double? radiusInKm,
- Delivery_DeliveryType? type,
- Iterable<
int> ? serviceProviders, - ServicePointQuery_ServicePointOrder? orderBy,
- bool? includeActive,
- bool? includeInActive,
- PriceContextId? priceContextId,
Implementation
factory ServicePointQuery({
$0.ContinuationToken? continuation,
$1.AccountId? accountId,
$2.Address? address,
$core.double? radiusInKm,
$3.Delivery_DeliveryType? type,
$core.Iterable<$core.int>? serviceProviders,
ServicePointQuery_ServicePointOrder? orderBy,
$core.bool? includeActive,
$core.bool? includeInActive,
$1.PriceContextId? priceContextId,
}) {
final result = create();
if (continuation != null) result.continuation = continuation;
if (accountId != null) result.accountId = accountId;
if (address != null) result.address = address;
if (radiusInKm != null) result.radiusInKm = radiusInKm;
if (type != null) result.type = type;
if (serviceProviders != null)
result.serviceProviders.addAll(serviceProviders);
if (orderBy != null) result.orderBy = orderBy;
if (includeActive != null) result.includeActive = includeActive;
if (includeInActive != null) result.includeInActive = includeInActive;
if (priceContextId != null) result.priceContextId = priceContextId;
return result;
}