@Override
    default @Nullable Tag resolve(@TagPattern final @NotNull String name) {
      if (this.has(name)) {
        return this.tag();
      }
      return null;
    }
The tag returned by this resolver when the key is matching.

@return the tag
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/resolver/TagResolver.java