NmAgentMessage constructor

const NmAgentMessage({
  1. required String text,
  2. required NmAgentRole role,
  3. String? timeLabel,
  4. Uint8List? image,
  5. String? id,
})

Creates an NmAgentMessage.

Implementation

const NmAgentMessage({required this.text, required this.role, this.timeLabel, this.image, this.id});