mentionableConverter top-level constant Null safety

Converter<Mentionable> const mentionableConverter

Converter to convert input to Mentionables.

This uses multiple strategiiees to look up mentionables, in the order below:

Implementation

const Converter<Mentionable> mentionableConverter = FallbackConverter(
  [
    memberConverter,
    roleConverter,
  ],
  type: CommandOptionType.mentionable,
);