ToDeviceEvent constructor

ToDeviceEvent({
  1. required String sender,
  2. required String type,
  3. required Map<String, dynamic> content,
  4. Map<String, dynamic>? encryptedContent,
})

Implementation

ToDeviceEvent({
  required String sender,
  required String type,
  required Map<String, dynamic> content,
  this.encryptedContent,
}) : super(senderId: sender, type: type, content: content);