time property

  1. @override
DateTime time
final

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;