time property

DateTime time
final

Timestamp when the message was sent.

Example:


@override
Widget build(BuildContext context) {
 return SfChat(
   messages: [
     ChatMessage(
       time: DateTime.now(),
     ),
   ],
 );
}

Implementation

final DateTime time;