I\'m fetching data cloud firestore & trying to show in my app by using the following piece of code.
new Text(timeago.format(document.data[\'tripDoc\'][\'
I think this is more reliable
DateTime updateDateTime = DateTime.fromMillisecondsSinceEpoch( map['updatedatetime'].millisecondsSinceEpoch);