whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? phone()?,
  2. TResult? tablet()?,
  3. TResult? desktop()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? phone,
  TResult? Function()? tablet,
  TResult? Function()? desktop,
}) =>
    throw _privateConstructorUsedError;