time property
Timestamp when the message was sent.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
messages: <ChatMessage>[
ChatMessage(
time: DateTime.now(),
),
],
);
}
Implementation
@override
final DateTime time;