http_semantics 0.9.7
http_semantics: ^0.9.7 copied to clipboard
Type-safe HTTP status codes and methods with semantic metadata and easy classification.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add http_semanticsWith Flutter:
$ flutter pub add http_semanticsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
http_semantics: ^0.9.7Alternatively, 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:http_semantics/http_semantics.dart';