getCurrentDate static method

String getCurrentDate({
  1. String format = Format.fyyyyMMdd,
})

get current date with format

Implementation

static String getCurrentDate({String format = Format.fyyyyMMdd}) {
  return getCurrentDateTime(format: format);
}