getDateByPeriod static method
date by period like add days or substract days
Implementation
static String getDateByPeriod(
{required String date, int days = 0, String format = Format.fyyyyMMdd}) {
return dateTimeToString(
date: stringToDateTime(date: date, format: format)
.add(Duration(days: days)),
format: format);
}