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