MatrixEvent constructor

MatrixEvent({
  1. required String type,
  2. required Map<String, Object?> content,
  3. required String senderId,
  4. String? stateKey,
  5. required String eventId,
  6. String? roomId,
  7. required DateTime originServerTs,
  8. Map<String, Object?>? unsigned,
  9. Map<String, Object?>? prevContent,
  10. String? redacts,
})

Implementation

MatrixEvent({
  required super.type,
  required super.content,
  required super.senderId,
  super.stateKey,
  required this.eventId,
  this.roomId,
  required this.originServerTs,
  this.unsigned,
  this.prevContent,
  this.redacts,
});