DomainManager class
Constructors
- DomainManager()
-
factory
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
-
getDomain(
DomainType type) → String - 获取最优域名
-
getDomainList(
DomainType type) → List< String> ? - 获取域名列表
-
getModel(
) → DomainModel? - 获取域名配置model
-
init(
) → Future< DomainResp> - 初始化
-
nextDomain(
DomainType type) → String - 当当前域名异常或不可用时,切换至下一个域名并返回
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateDomain(
String newVersion) → void - 当后端修改域名配置version变化时更新域名
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited