nowFormat static method

String nowFormat({
  1. String format = "yyyy-MM-dd HH:mm:ss",
})

get Now Date Str.(yyyy-MM-dd HH:mm:ss)

Implementation

static String nowFormat({String format = "yyyy-MM-dd HH:mm:ss"}) {
  return formatDate(DateTime.now(), format: format);
}