convertStringToDate static method
Implementation
static DateTime? convertStringToDate(String? format, String? date) {
if (SelectionUtil.isEmpty(format) || SelectionUtil.isEmpty(date)) return null;
return DateFormat(format).parse(date!);
}
static DateTime? convertStringToDate(String? format, String? date) {
if (SelectionUtil.isEmpty(format) || SelectionUtil.isEmpty(date)) return null;
return DateFormat(format).parse(date!);
}