default @NotNull Style edit(final @NotNull Consumer<Builder> consumer, final Merge.@NotNull Strategy strategy) {
    return style(style -> {
      if (strategy == Merge.Strategy.ALWAYS) {
        style.merge(this, strategy);
      }
      consumer.accept(style);
      if (strategy == Merge.Strategy.IF_ABSENT_ON_TARGET) {
        style.merge(this, strategy);
      }
    });
  }
Edits this style.

@param consumer the consumer
@param strategy the merge strategy
@return a new style
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/format/Style.java