whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? initial()?,
- TResult? loading()?,
- TResult? failure(
- AppException exception
- TResult? success(
- String? message
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? initial,
TResult? Function()? loading,
TResult? Function(AppException exception)? failure,
TResult? Function(String? message)? success,
}) =>
throw _privateConstructorUsedError;