when<TResult extends Object?> method

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

Implementation

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