SMHService class Null safety
- Implementers
Constructors
Properties
- baseUrl → dynamic
-
read-only
- dio → Dio
-
final
- hashCode → int
-
The hash code for this object.
read-only, inherited
- hostType ↔ SMHHostType
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
configBaseHostWithEnv(
String url, SMHHostType type) → void -
errorFactory(
DioError error) → SMHError -
initDio(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
responseFactory(
Response response) → Map< String, dynamic> -
serviceHeader(
) → Map< String, dynamic> ? - 公共请求头
-
serviceKey(
) → String -
serviceQuery(
) → Map< String, dynamic> ? - 公共query参数
-
setupCurrentHostEnv(
SMHHostType type) → void -
toString(
) → String -
A string representation of this object.
inherited
-
urlPaths(
) → List< String> ?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited