ToDeviceEvent class
- Inheritance
-
- Object
- BasicEvent
- BasicEventWithSender
- ToDeviceEvent
- Implementers
- Available extensions
- ForwardedRoomKeyContentBasicEventExtension
- ImagePackContentBasicEventExtension
- RoomEncryptedContentBasicEventExtension
- RoomEncryptionContentBasicEventExtension
- RoomKeyContentBasicEventExtension
- RoomKeyRequestContentBasicEventExtension
- SecretStorageDefaultKeyContentBasicEventExtension
- SecretStorageKeyContentBasicEventExtension
- TombstoneContentBasicEventExtension
Constructors
-
ToDeviceEvent({required String sender, required String type, required Map<
String, dynamic> content, Map<String, dynamic> ? encryptedContent}) -
ToDeviceEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
content
↔ Map<
String, Object?> -
getter/setter pairinherited
-
encryptedContent
↔ Map<
String, dynamic> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender ↔ String
-
getter/setter pair
- senderId ↔ String
-
getter/setter pairinherited
- type ↔ String
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited