CommunityChatJoinedPatterns extension
Adds pattern-matching-related methods to CommunityChatJoined.
Methods
-
map<
TResult extends Object?> (TResult $default(_CommunityChatJoined value)) → TResult -
Available on CommunityChatJoined, provided by the CommunityChatJoinedPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_CommunityChatJoined value)?) → TResult? -
Available on CommunityChatJoined, provided by the CommunityChatJoinedPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_CommunityChatJoined value)?, {required TResult orElse()}) → TResult -
Available on CommunityChatJoined, provided by the CommunityChatJoinedPatterns extension
A variant ofmapthat fallback to returningorElse.