copyWith method
AppBarEntity
copyWith({
- String? documentID,
- String? appId,
- String? title,
- int? header,
- IconEntity? icon,
- String? imageId,
- String? iconMenuId,
- BackgroundEntity? backgroundOverride,
- RgbEntity? iconColorOverride,
- RgbEntity? selectedIconColorOverride,
Implementation
AppBarEntity copyWith({
String? documentID,
String? appId,
String? title,
int? header,
IconEntity? icon,
String? imageId,
String? iconMenuId,
BackgroundEntity? backgroundOverride,
RgbEntity? iconColorOverride,
RgbEntity? selectedIconColorOverride,
RgbEntity? menuBackgroundColorOverride,
}) {
return AppBarEntity(
appId: appId ?? this.appId,
title: title ?? this.title,
header: header ?? this.header,
icon: icon ?? this.icon,
imageId: imageId ?? this.imageId,
iconMenuId: iconMenuId ?? this.iconMenuId,
backgroundOverride: backgroundOverride ?? this.backgroundOverride,
iconColorOverride: iconColorOverride ?? this.iconColorOverride,
selectedIconColorOverride:
selectedIconColorOverride ?? this.selectedIconColorOverride,
menuBackgroundColorOverride:
menuBackgroundColorOverride ?? this.menuBackgroundColorOverride,
);
}