dry_bloc 1.0.0
dry_bloc: ^1.0.0 copied to clipboard
States and functions for bloc package that reduces boilerplate
1.0.0 #
-
BREAKING refactor!: rethrow all the exceptions
-
BREAKING refactor!: make
DryException
implementException
-
feat: introduce
maybeWhenDryException()
extension methodExample of usage:
runZonedGuarded( () async { runApp(...); }, (error, stack) { error.maybeWhenDryException( // If you want to log to the Crashlytics only fatal exceptions businessTyped: (error) {}, businessUntyped: (error) {}, orElse: (error) => FirebaseCrashlytics.instance.recordError(error, stack), ); }, );
0.1.0+1 #
- feat: initial commit 🎉