whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult blank()?,
  2. TResult kurt()?,
  3. TResult prescription01()?,
  4. TResult prescription02()?,
  5. TResult round()?,
  6. TResult sunglasses()?,
  7. TResult wayfarers()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult Function()? blank,
  TResult Function()? kurt,
  TResult Function()? prescription01,
  TResult Function()? prescription02,
  TResult Function()? round,
  TResult Function()? sunglasses,
  TResult Function()? wayfarers,
}) =>
    throw _privateConstructorUsedError;