strDateToString static method

String strDateToString(
  1. String value, {
  2. String pattern = 'HH:mm dd/MM/yyyy',
})

Implementation

static String strDateToString(String value, {String pattern = 'HH:mm dd/MM/yyyy'}) {
  final date = stringToDateTime(value);
  return dateToString(date, locale: Constants().localeVI, pattern: pattern);
}