BaseDio class Null safety

Constructors

BaseDio()
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

configDio({required String baseUrl, required BaseResponseConverter baseResponseConverter}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
request<T>(String method, String url, {Object? body, Map<String, dynamic>? queryParameters, CancelToken? cancelToken, Options? options}) Future<BaseResponse<T>?>
数据返回格式统一
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

converter BaseResponseConverter
latefinal
instance BaseDio
read-only