Message constructor

Message({
  1. required String name,
  2. required String id,
  3. required String timestamp,
  4. required List<MessageElement> elements,
  5. bool isLoading = false,
  6. bool isFailed = false,
  7. double? width,
})

Implementation

Message({
  required this.name,
  required this.id,
  required this.timestamp,
  required this.elements,
  this.isLoading = false,
  this.isFailed = false,
  this.width,
});