UpdateCustomLabelPolicyRequest constructor

UpdateCustomLabelPolicyRequest({
  1. String? primaryColor,
  2. bool? hideLoginNameSuffix,
  3. String? warnColor,
  4. String? backgroundColor,
  5. String? fontColor,
  6. String? primaryColorDark,
  7. String? backgroundColorDark,
  8. String? warnColorDark,
  9. String? fontColorDark,
  10. bool? disableWatermark,
  11. ThemeMode? themeMode,
})

Implementation

factory UpdateCustomLabelPolicyRequest({
  $core.String? primaryColor,
  $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,
  $20.ThemeMode? themeMode,
}) {
  final $result = create();
  if (primaryColor != null) {
    $result.primaryColor = primaryColor;
  }
  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 (themeMode != null) {
    $result.themeMode = themeMode;
  }
  return $result;
}