Setting up Dio

dio

A powerful Http client for Dart, which supports Interceptors, Global configuration, FormData, Request Cancellation, File downloading, Timeout etc.

Add dependency

# pubspec.yaml
dependencies:
  dio: ^3.0.10

Last updated