@Deprecated
  public final @NotNull TextDecorationAndState as(final boolean state) {
    return this.withState(state);
  }
Creates a {@link TextDecorationAndState}, annotating this decoration with the given {@code state}.

@param state the state
@return a {@link TextDecorationAndState}
@since 4.8.0
@deprecated for removal since 4.10.0, use {@link #withState(boolean)} instead
api/src/main/java/net/kyori/adventure/text/format/TextDecoration.java