copyWithWrapped method
ShopifySharpFulfillment
copyWithWrapped({
- Wrapped<
DateTime?> ? createdAt, - Wrapped<
List< ? lineItems,ShopifySharpLineItem> ?> - Wrapped<
int?> ? orderId, - Wrapped? receipt,
- Wrapped<
String?> ? status, - Wrapped<
int?> ? locationId, - Wrapped<
String?> ? email, - Wrapped<
bool?> ? notifyCustomer, - Wrapped<
ShopifySharpAddress?> ? destination, - Wrapped<
String?> ? trackingCompany, - Wrapped<
String?> ? trackingNumber, - Wrapped<
List< ? trackingNumbers,String> ?> - Wrapped<
String?> ? trackingUrl, - Wrapped<
List< ? trackingUrls,String> ?> - Wrapped<
DateTime?> ? updatedAt, - Wrapped<
String?> ? variantInventoryManagement, - Wrapped<
String?> ? service, - Wrapped<
String?> ? shipmentStatus, - Wrapped<
String?> ? name, - Wrapped<
ShopifySharpFulfillmentOriginAddress?> ? originAddress, - Wrapped<
int?> ? id, - Wrapped<
String?> ? adminGraphqlApiId,
Implementation
ShopifySharpFulfillment copyWithWrapped({
Wrapped<DateTime?>? createdAt,
Wrapped<List<ShopifySharpLineItem>?>? lineItems,
Wrapped<int?>? orderId,
Wrapped<dynamic>? receipt,
Wrapped<String?>? status,
Wrapped<int?>? locationId,
Wrapped<String?>? email,
Wrapped<bool?>? notifyCustomer,
Wrapped<ShopifySharpAddress?>? destination,
Wrapped<String?>? trackingCompany,
Wrapped<String?>? trackingNumber,
Wrapped<List<String>?>? trackingNumbers,
Wrapped<String?>? trackingUrl,
Wrapped<List<String>?>? trackingUrls,
Wrapped<DateTime?>? updatedAt,
Wrapped<String?>? variantInventoryManagement,
Wrapped<String?>? service,
Wrapped<String?>? shipmentStatus,
Wrapped<String?>? name,
Wrapped<ShopifySharpFulfillmentOriginAddress?>? originAddress,
Wrapped<int?>? id,
Wrapped<String?>? adminGraphqlApiId,
}) {
return ShopifySharpFulfillment(
createdAt: (createdAt != null ? createdAt.value : this.createdAt),
lineItems: (lineItems != null ? lineItems.value : this.lineItems),
orderId: (orderId != null ? orderId.value : this.orderId),
receipt: (receipt != null ? receipt.value : this.receipt),
status: (status != null ? status.value : this.status),
locationId: (locationId != null ? locationId.value : this.locationId),
email: (email != null ? email.value : this.email),
notifyCustomer: (notifyCustomer != null
? notifyCustomer.value
: this.notifyCustomer),
destination: (destination != null ? destination.value : this.destination),
trackingCompany: (trackingCompany != null
? trackingCompany.value
: this.trackingCompany),
trackingNumber: (trackingNumber != null
? trackingNumber.value
: this.trackingNumber),
trackingNumbers: (trackingNumbers != null
? trackingNumbers.value
: this.trackingNumbers),
trackingUrl: (trackingUrl != null ? trackingUrl.value : this.trackingUrl),
trackingUrls: (trackingUrls != null
? trackingUrls.value
: this.trackingUrls),
updatedAt: (updatedAt != null ? updatedAt.value : this.updatedAt),
variantInventoryManagement: (variantInventoryManagement != null
? variantInventoryManagement.value
: this.variantInventoryManagement),
service: (service != null ? service.value : this.service),
shipmentStatus: (shipmentStatus != null
? shipmentStatus.value
: this.shipmentStatus),
name: (name != null ? name.value : this.name),
originAddress: (originAddress != null
? originAddress.value
: this.originAddress),
id: (id != null ? id.value : this.id),
adminGraphqlApiId: (adminGraphqlApiId != null
? adminGraphqlApiId.value
: this.adminGraphqlApiId),
);
}