bloc_error_handler 0.0.3
bloc_error_handler: ^0.0.3 copied to clipboard
Bloc event handler for emitting new error states and reducing boiler plate
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bloc_error_handlerWith Flutter:
$ flutter pub add bloc_error_handlerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
bloc_error_handler: ^0.0.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bloc_error_handler/bloc_error_handler.dart';