formatDateTimeFromString static method

String formatDateTimeFromString(
  1. String value
)

Implementation

static String formatDateTimeFromString(String value) {
  var date = DateTime.parse(value);
  return DateFormat("dd/MM/yyyy HH:mm:ss").format(date);
}