TransientMessage constructor

TransientMessage({
  1. required String receiverId,
  2. required String receiverType,
  3. required Map<String, dynamic> data,
  4. User? sender,
})

Constructs a new TransientMessage instance.

Requires receiverId, receiverType, data to be specified. sender is optional.

Implementation

TransientMessage({
  required this.receiverId,
  required this.receiverType,
  required this.data,
  this.sender,
});