menu
stream_chat_flutter package
documentation
stream_chat_flutter.dart
AttachmentSourceX extension
AttachmentSourceX extension
dark_mode
light_mode
AttachmentSourceX
extension
Extension for identifying type of attachment
on
AttachmentSource
Methods
when
<
T
>
(
{
required
T
local
(),
required
T
network
()
})
→ T
The
when
method is the equivalent to pattern matching. Its prototype depends on the AttachmentSource defined.
stream_chat_flutter package
documentation
stream_chat_flutter
AttachmentSourceX extension
stream_chat_flutter library