dateFormatMDYHm static method

String dateFormatMDYHm(
  1. DateTime? time
)

Implementation

static String dateFormatMDYHm(DateTime? time) {
  return DateFormat(
          "MMM d, yyyy - HH:mm",
          LocalStorage.getLanguage() == "kiril"
              ? "uz"
              : LocalStorage.getLanguage())
      .format(time ?? DateTime.now());
}