when<T> method
T
when<T>({
- required T noSupport(),
- required T success(),
Implementation
T when<T>({
required T Function() noSupport,
required T Function() success,
}) =>
{
IdServerUnbindResult.noSupport: noSupport,
IdServerUnbindResult.success: success,
}[this]!();