when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult never(),
  2. required TResult timeout(
    1. int data
    ),
  3. required TResult timestamp(
    1. int data
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() never,
  required TResult Function(int data) timeout,
  required TResult Function(int data) timestamp,
}) =>
    throw _privateConstructorUsedError;