LocalServerCacheBinder class
Binder 主要是在webpage,把当前项目的资源,携带上统一资源的资源指向 返回LocalServer服务对应path的url
- Implemented types
Constructors
Properties
-
assetsCache
↔ Map<
String, dynamic> -
getter/setter pair
-
basicCache
→ Map<
String, dynamic> ? -
no setter
- currentH5Path ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocalServer ↔ bool
-
getter/setter pair
- lsClientConfig → LocalServerClientConfig?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unSupportLocalServer → bool
-
当前WebView是否被禁止使用server
no setter
Methods
-
convertH5Url2LocalServerUrl(
String h5Path) → String -
转换为Local Server 使用的链接
转换失败则返回原链接
h5Path
-
dispose(
) → void -
findBuilderResource(
String path) → dynamic -
override
-
initBinder(
) → void -
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