SocketData class
Constructors
-
SocketData.create({required Map<
String, dynamic> data, String? messageId, required String? type}) -
SocketData.fromFullData(Map<
String, dynamic> ? fullData) -
SocketData.fromJson(Map<
String, dynamic> data) -
factory
- SocketData.fromSocket(String rawData)
-
factory
Properties
-
data
→ Map<
String, dynamic> ? -
no setter
-
fullData
↔ Map<
String, dynamic> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDecrypted ↔ bool
-
getter/setter pair
- isEncrypted ↔ bool
-
getter/setter pair
- messageId ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemeValid ↔ bool
-
getter/setter pair
- success ↔ bool
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
Methods
-
decrypt(
Nonce? nonce, Nonce? cNonce) → Future< SocketData> -
encrypt(
Nonce? nonce, Nonce? cNonce) → Future< SocketData> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
response(
Map< String, dynamic> data) → SocketData -
toJson(
) → Map< String, dynamic> ? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited