when<T> method
T
when<T>({
- required T b(),
- required T f(),
Implementation
T when<T>({
required T Function() b,
required T Function() f,
}) =>
{
Direction.b: b,
Direction.f: f,
}[this]!();