LabelPolicy constructor
LabelPolicy({
- ObjectDetails? details,
- String? primaryColor,
- bool? isDefault,
- bool? hideLoginNameSuffix,
- String? warnColor,
- String? backgroundColor,
- String? fontColor,
- String? primaryColorDark,
- String? backgroundColorDark,
- String? warnColorDark,
- String? fontColorDark,
- bool? disableWatermark,
- String? logoUrl,
- String? iconUrl,
- String? logoUrlDark,
- String? iconUrlDark,
- String? fontUrl,
- ThemeMode? themeMode,
Implementation
factory LabelPolicy({
$8.ObjectDetails? details,
$core.String? primaryColor,
$core.bool? isDefault,
$core.bool? hideLoginNameSuffix,
$core.String? warnColor,
$core.String? backgroundColor,
$core.String? fontColor,
$core.String? primaryColorDark,
$core.String? backgroundColorDark,
$core.String? warnColorDark,
$core.String? fontColorDark,
$core.bool? disableWatermark,
$core.String? logoUrl,
$core.String? iconUrl,
$core.String? logoUrlDark,
$core.String? iconUrlDark,
$core.String? fontUrl,
ThemeMode? themeMode,
}) {
final $result = create();
if (details != null) {
$result.details = details;
}
if (primaryColor != null) {
$result.primaryColor = primaryColor;
}
if (isDefault != null) {
$result.isDefault = isDefault;
}
if (hideLoginNameSuffix != null) {
$result.hideLoginNameSuffix = hideLoginNameSuffix;
}
if (warnColor != null) {
$result.warnColor = warnColor;
}
if (backgroundColor != null) {
$result.backgroundColor = backgroundColor;
}
if (fontColor != null) {
$result.fontColor = fontColor;
}
if (primaryColorDark != null) {
$result.primaryColorDark = primaryColorDark;
}
if (backgroundColorDark != null) {
$result.backgroundColorDark = backgroundColorDark;
}
if (warnColorDark != null) {
$result.warnColorDark = warnColorDark;
}
if (fontColorDark != null) {
$result.fontColorDark = fontColorDark;
}
if (disableWatermark != null) {
$result.disableWatermark = disableWatermark;
}
if (logoUrl != null) {
$result.logoUrl = logoUrl;
}
if (iconUrl != null) {
$result.iconUrl = iconUrl;
}
if (logoUrlDark != null) {
$result.logoUrlDark = logoUrlDark;
}
if (iconUrlDark != null) {
$result.iconUrlDark = iconUrlDark;
}
if (fontUrl != null) {
$result.fontUrl = fontUrl;
}
if (themeMode != null) {
$result.themeMode = themeMode;
}
return $result;
}