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