toEntity method
Implementation
@override
AppBarEntity toEntity({String? appId}) {
return AppBarEntity(
appId: appId,
title: (title != null) ? title : null,
header: (header != null) ? header!.index : null,
icon: (icon != null) ? icon!.toEntity(appId: appId) : null,
imageId: (image != null) ? image!.documentID : null,
iconMenuId: (iconMenu != null) ? iconMenu!.documentID : null,
backgroundOverride: (backgroundOverride != null)
? backgroundOverride!.toEntity(appId: appId)
: null,
iconColorOverride: (iconColorOverride != null)
? iconColorOverride!.toEntity(appId: appId)
: null,
selectedIconColorOverride: (selectedIconColorOverride != null)
? selectedIconColorOverride!.toEntity(appId: appId)
: null,
menuBackgroundColorOverride: (menuBackgroundColorOverride != null)
? menuBackgroundColorOverride!.toEntity(appId: appId)
: null,
);
}