map<TResult extends Object?> abstract method

TResult map<TResult extends Object?>({
  1. required TResult active(
    1. ActiveActivityUpdate value
    ),
  2. required TResult ended(
    1. EndedActivityUpdate value
    ),
  3. required TResult stale(
    1. StaleActivityUpdate value
    ),
  4. required TResult unknown(
    1. UnknownActivityUpdate value
    ),
})

Implementation

TResult 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,
});