testFormatDate static method

String testFormatDate(
  1. DateTime date
)

Implementation

static String testFormatDate(DateTime date) => DateFormat("dd-MM-yyyy hh:mm:ss aa  ").format(date);