copyWith method
ShopModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- String? shortDescription,
- String? currency,
- StorageConditionsModel? conditions,
override
Implementation
@override
ShopModel copyWith({
String? documentID,
String? appId,
String? description,
String? shortDescription,
String? currency,
StorageConditionsModel? conditions,
}) {
return ShopModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
description: description ?? this.description,
shortDescription: shortDescription ?? this.shortDescription,
currency: currency ?? this.currency,
conditions: conditions ?? this.conditions,
);
}