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