when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult android(),
  2. required TResult ios(),
  3. required TResult macos(),
  4. required TResult web(),
  5. required TResult linux(),
  6. required TResult windows(),
  7. required TResult fuchsia(),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function() android,
  required TResult Function() ios,
  required TResult Function() macos,
  required TResult Function() web,
  required TResult Function() linux,
  required TResult Function() windows,
  required TResult Function() fuchsia,
}) =>
    throw _privateConstructorUsedError;