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