snowflakeConverter top-level constant Null safety

Converter<Snowflake> const snowflakeConverter

Converter to convert input to Snowflakes.

This tries to parse the next word in the input as a raw snowflake (integer), or as a mention.

Implementation

const Converter<Snowflake> snowflakeConverter = Converter<Snowflake>(
  convertSnowflake,
);