none<T> static method
Asserts option is None.
Implementation
static void none<T>(Option<T> option, {String? reason}) => option.match(
some: (T value) => throw AuthAssertionError(
reason ?? 'expected None but got Some($value)',
),
none: () {},
);