toDDMMYYYY property

DateTime? get toDDMMYYYY

Date in format dd/MM/yyyy

Implementation

DateTime? get toDDMMYYYY {
  try {
    return DateFormat('dd/MM/yyyy').parse(this);
  } catch (ex) {
    return null;
  }
}