dateTimeToString static method
convert date (DateTime to String)
Implementation
static String dateTimeToString(
{required DateTime date, String format = Format.fyyyyMMdd}) {
return DateFormat(format).format(date);
}
convert date (DateTime to String)
static String dateTimeToString(
{required DateTime date, String format = Format.fyyyyMMdd}) {
return DateFormat(format).format(date);
}