@Override
  @Contract("_ -> this")
  @SuppressWarnings("unchecked")
  default @NotNull T decorations(final @NotNull Map<TextDecoration, TextDecoration.State> decorations) {
    requireNonNull(decorations, "decorations");
    for (final Map.Entry<TextDecoration, TextDecoration.State> entry : decorations.entrySet()) {
      this.decoration(entry.getKey(), entry.getValue());
    }
    return (T) this;
  }
Sets decorations using the specified {@code decorations} map.

<p>If a given decoration does not have a value explicitly set, the value of that particular decoration is not changed.</p>

@param decorations a map containing text decorations and their respective state.
@return a mutable object ({@code T})
@since 4.10.0
api/src/main/java/net/kyori/adventure/text/format/MutableStyleSetter.java