DioClient class abstract

This class's only purpose is to instantiate new Dio objects

Constructors

DioClient.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

instance(PreferencesService preferences, {bool disableStatusesErrors = false, Duration? connectTimeout = const Duration(seconds: 30), Duration? sendTimeout = const Duration(seconds: 50), Duration? receiveTimeout, String? baseUrl}) Dio
returns a new Dio instance configured with some basic features