PendingMessage constructor

const PendingMessage({
  1. required String clientId,
  2. required String content,
  3. required DateTime createdAt,
  4. List<String> attachments = const [],
  5. PendingUpload? upload,
  6. bool failed = false,
  7. String? errorCode,
})

Creates a pending message.

Implementation

const PendingMessage({
  required this.clientId,
  required this.content,
  required this.createdAt,
  this.attachments = const [],
  this.upload,
  this.failed = false,
  this.errorCode,
});