when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult app(),
  2. required TResult web(),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() app,
  required TResult Function() web,
}) =>
    throw _privateConstructorUsedError;