copyWith method

AppEntity copyWith({
  1. String? documentID,
  2. String? ownerID,
  3. String? title,
  4. String? homeURL,
  5. String? email,
  6. String? description,
  7. int? appStatus,
  8. String? anonymousProfilePhotoId,
  9. AppHomePageReferencesEntity? homePages,
  10. String? logoId,
  11. String? styleFamily,
  12. String? styleName,
  13. bool? autoPrivileged1,
  14. bool? isFeatured,
  15. bool? includeShippingAddress,
  16. bool? includeInvoiceAddress,
  17. bool? includeSubscriptions,
  18. 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,
  );
}