whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult noConnection()?,
- TResult result(
- T result
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult Function()? noConnection,
TResult Function(T result)? result,
}) =>
throw _privateConstructorUsedError;