mapOrNull<TResult extends Object?> abstract method
TResult?
mapOrNull<TResult extends Object?>({
- TResult active(
- ActiveActivityUpdate value
- TResult ended(
- EndedActivityUpdate value
- TResult stale(
- StaleActivityUpdate value
- TResult unknown(
- UnknownActivityUpdate value
Implementation
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,
});