timestampToDate property

String get timestampToDate

Implementation

String get timestampToDate {
  if (isNotNullOrEmpty) {
    var date = DateFormat("yyyy-MM-dd HH:mm:ss").parse(this ?? "");
    return DateFormat("dd-MMM-yyyy hh:mm a").format(date);
  } else {
    return this ?? "";
  }
}