map<TResult extends Object?> method

  1. @override
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
    ),
})
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 stale(this);
}