maybeWhen<TResult extends Object?> method

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

Implementation

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