ClientInfo class
Represents information about a client that will be accessing
this angel_sync
server.
Constructors
- ClientInfo(String id, {bool canPublish = true, bool canSubscribe = true})
-
const
Properties
- canPublish → bool
-
If
true
(default), then the client is allowed to publish events.final - canSubscribe → bool
-
If
true
(default), then the client can subscribe to events.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A unique identifier for this client.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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