ComponentSyncBinding class
Transport đổi identity (map khác) → dừng sync cũ (gỡ component của map cũ) rồi gắn sync mới; cùng engine + cùng transport → không làm gì.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transport → ComponentSyncTransport?
-
Đang gắn với transport nào (
null= tắt).no setter
Methods
-
dispose(
) → void - Widget gỡ: engine bị dispose cùng lúc — chỉ huỷ nghe, không gỡ từng component.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
ComponentSyncHost? engine, ComponentSyncTransport? transport, {ComponentSyncErrorCallback? onError, void onStatus(ComponentSyncStatus status)?}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited