when<T> method
T
when<T>({
- required T roomId(),
- required T sender(),
Implementation
T when<T>({
required T Function() roomId,
required T Function() sender,
}) =>
{
GroupKey.roomId: roomId,
GroupKey.sender: sender,
}[this]!();