TypingIndicator constructor

TypingIndicator({
  1. required User sender,
  2. required String receiverId,
  3. required String receiverType,
  4. Map<String, String>? metadata,
  5. required DateTime lastTimestamp,
})

Constructs a new TypingIndicator instance.

Requires sender, receiverId, receiverType, and lastTimestamp to be specified. metadata is optional.

Implementation

TypingIndicator({
  required this.sender,
  required this.receiverId,
  required this.receiverType,
  this.metadata,
  required this.lastTimestamp,
});