SMHAPIService class Null safety

Inheritance

Constructors

SMHAPIService()

Properties

accessTokenInterceptor SMHAccessTokenInterceptor
read / write
baseUrl → dynamic
read-only, inherited
dio → Dio
final, inherited
hashCode int
The hash code for this object.
read-only, inherited
hostType SMHHostType
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

configBaseHostWithEnv(String url, SMHHostType type) → void
inherited
errorFactory(DioError error) SMHError
inherited
initDio() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
responseFactory(Response response) Map<String, dynamic>
inherited
serviceHeader() Map<String, dynamic>?
公共请求头
override
serviceKey() String
override
serviceQuery() Map<String, dynamic>?
公共query参数
inherited
setAccessTokenRefreshHandle(SMHRefreshAccessTokenHander accessTokenHander) → dynamic
setupCurrentHostEnv(SMHHostType type) → void
inherited
toString() String
A string representation of this object.
inherited
urlPaths() List<String>?
override

Operators

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