whenOrNull<TResult extends Object?> method

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

Implementation

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