MessageModel constructor

MessageModel({
  1. String? modelId,
  2. required dynamic message,
  3. List? reactions,
  4. dynamic quoteMessage,
  5. dynamic thread,
  6. dynamic pinInfo,
})

Implementation

MessageModel({
  String? modelId,
  required this.message,
  this.reactions,
  this.quoteMessage,
  this.thread,
  this.pinInfo,
}) : id = modelId ?? randomId(message);