mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult active(
- ActiveActivityUpdate value
- TResult ended(
- EndedActivityUpdate value
- TResult stale(
- StaleActivityUpdate value
- TResult unknown(
- UnknownActivityUpdate value
override
Implementation
@override
TResult? mapOrNull<TResult extends Object?>({
TResult Function(ActiveActivityUpdate value)? active,
TResult Function(EndedActivityUpdate value)? ended,
TResult Function(StaleActivityUpdate value)? stale,
TResult Function(UnknownActivityUpdate value)? unknown,
}) {
return unknown?.call(this);
}