Message constructor

const Message({
  1. required String text,
  2. bool isUser = false,
})

Implementation

const Message({required this.text, this.isUser = false});