NearbyMessage class
Constructors
- NearbyMessage(Uint8List payload, {bool isAuthenticated = false})
- NearbyMessage.fromBytes(Uint8List message, {NearbyMessageType messageType = NearbyMessageType.direct, dynamic signature})
- NearbyMessage.fromString(String message, {NearbyMessageType messageType = NearbyMessageType.direct, dynamic signature})
- NearbyMessage.handshakeMessage(String handshakePayload, {dynamic signature})
Properties
- dateTime ↔ DateTime
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAuthenticated ↔ bool
-
getter/setter pair
- message ↔ Uint8List
-
getter/setter pair
- messageType ↔ NearbyMessageType
-
getter/setter pair
- pSize ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature ↔ Uint8List
-
getter/setter pair
Methods
-
convertToBytes(
) → Uint8List -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setIsAuthenticated(
bool isAuth) → void -
signMessage(
SigningManager signer) → void -
toString(
) → String -
A string representation of this object.
inherited
-
validateAuthenticity(
SigningManager verifier) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited