op_rest_api_client 0.14.1
op_rest_api_client: ^0.14.1 copied to clipboard
A lightweight and flexible Dart HTTP client for RESTful APIs with structured error handling via op_result and support for identity-based authentication and token refresh.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add op_rest_api_clientThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
op_rest_api_client: ^0.14.1Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:op_rest_api_client/op_rest_api_client.dart';