OptionsMixin mixin
- Mixin Applications
Properties
- baseUrl ↔ String
-
Request base url, it can contain sub paths like: https://pub.dev/api/.
read / write
-
queryParameters
↔ Map<
String, dynamic> -
Common query parameters.
read / write
- connectTimeout ↔ Duration?
-
Timeout in milliseconds for opening url.
Dio will throw the DioError with DioErrorType.connectionTimeout type
when time out.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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