when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult none(),
- required TResult mobile(),
- required TResult wifi(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() none,
required TResult Function() mobile,
required TResult Function() wifi,
}) =>
throw _privateConstructorUsedError;