getFormatedDateWithSlash static method

String getFormatedDateWithSlash(
  1. String? datetime
)

Implementation

static String getFormatedDateWithSlash(String? datetime) {
  if(datetime != null) {
    final parsedDate = convertToDateTime(datetime);
    if(parsedDate != null) {
      return parsedDate.stringFormatWithSlash;
    }
  }
  return "";
}