TypingIndicator constructor

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

Constructs a new TypingIndicator instance.

Android Reference: TypingIndicator(String receiverId, String receiverType)

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

Implementation

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