DioFactory class

Dio 工厂

根据 SmartConfig 创建干净的 Dio 实例。 所有功能(日志、缓存、重试等)通过 SmartPlugin 体系管理。

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

create(SmartConfig config) Dio
创建 Dio 实例