VideoChatStartedPatterns extension

Adds pattern-matching-related methods to VideoChatStarted.

on

Methods

map<TResult extends Object?>(TResult $default(_VideoChatStarted value)) → TResult

Available on VideoChatStarted, provided by the VideoChatStartedPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_VideoChatStarted value)?) → TResult?

Available on VideoChatStarted, provided by the VideoChatStartedPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_VideoChatStarted value)?, {required TResult orElse()}) → TResult

Available on VideoChatStarted, provided by the VideoChatStartedPatterns extension

A variant of map that fallback to returning orElse.