getFormattedTime method

String getFormattedTime()

Implementation

String getFormattedTime() {
  DateTime dateTime = DateTime.parse(lastMessageTime);
  return DateFormat('hh:mm a').format(dateTime);
}