when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult android(),
- required TResult ios(),
- required TResult macos(),
- required TResult web(),
- required TResult linux(),
- required TResult windows(),
- 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;