copyWith method
AppEntity
copyWith({
- String? documentID,
- String? ownerID,
- String? title,
- String? homeURL,
- String? email,
- String? description,
- int? appStatus,
- String? anonymousProfilePhotoId,
- AppHomePageReferencesEntity? homePages,
- String? logoId,
- String? styleFamily,
- String? styleName,
- bool? autoPrivileged1,
- bool? isFeatured,
- bool? includeShippingAddress,
- bool? includeInvoiceAddress,
- bool? includeSubscriptions,
- String? welcomeMessage,
Implementation
AppEntity copyWith({
String? documentID,
String? ownerID,
String? title,
String? homeURL,
String? email,
String? description,
int? appStatus,
String? anonymousProfilePhotoId,
AppHomePageReferencesEntity? homePages,
String? logoId,
String? styleFamily,
String? styleName,
bool? autoPrivileged1,
bool? isFeatured,
bool? includeShippingAddress,
bool? includeInvoiceAddress,
bool? includeSubscriptions,
String? welcomeMessage,
}) {
return AppEntity(
ownerID: ownerID ?? this.ownerID,
title: title ?? this.title,
homeURL: homeURL ?? this.homeURL,
email: email ?? this.email,
description: description ?? this.description,
appStatus: appStatus ?? this.appStatus,
anonymousProfilePhotoId:
anonymousProfilePhotoId ?? this.anonymousProfilePhotoId,
homePages: homePages ?? this.homePages,
logoId: logoId ?? this.logoId,
styleFamily: styleFamily ?? this.styleFamily,
styleName: styleName ?? this.styleName,
autoPrivileged1: autoPrivileged1 ?? this.autoPrivileged1,
isFeatured: isFeatured ?? this.isFeatured,
includeShippingAddress:
includeShippingAddress ?? this.includeShippingAddress,
includeInvoiceAddress:
includeInvoiceAddress ?? this.includeInvoiceAddress,
includeSubscriptions: includeSubscriptions ?? this.includeSubscriptions,
welcomeMessage: welcomeMessage ?? this.welcomeMessage,
);
}