SDNEvent constructor

SDNEvent({
  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

SDNEvent({
  required String type,
  required Map<String, Object?> content,
  required String senderId,
  String? stateKey,
  required this.eventId,
  this.roomId,
  required this.originServerTs,
  this.unsigned,
  this.prevContent,
  this.redacts,
}) : super(
          type: type,
          content: content,
          senderId: senderId,
          stateKey: stateKey);