snowflakeConverter top-level constant Null safety

Converter<Snowflake> const snowflakeConverter

A converter that converts input to a Snowflake.

This converter will parse user mentions, member mentions, channel mentions or raw integers as snowflakes.

Implementation

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