BaseMessage constructor

BaseMessage({
  1. required String id,
  2. required MessageType type,
  3. String? fromId,
  4. String? fromName,
  5. int? sendTime,
})

Implementation

BaseMessage(
    {required this.id,
    required this.type,
    this.fromId,
    this.fromName,
    this.sendTime});