default @NotNull Iterable<Component> iterable(final @NotNull ComponentIteratorType type, final @NotNull ComponentIteratorFlag@Nullable... flags) {
    return this.iterable(type, flags == null ? Collections.emptySet() : MonkeyBars.enumSet(ComponentIteratorFlag.class, flags));
  }
Returns an iterable view of this component.

@param type the type
@param flags the flags
@return the iterable
@since 4.9.0
api/src/main/java/net/kyori/adventure/text/Component.java