galileo_http_exception 2.0.2 galileo_http_exception: ^2.0.2 copied to clipboard
Exception class that can be serialized to JSON and serialized to clients.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add galileo_http_exception
With Flutter:
$ flutter pub add galileo_http_exception
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
galileo_http_exception: ^2.0.2
Alternatively, 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:galileo_http_exception/galileo_http_exception.dart';