fromDDMMYYYYString method

DateTime fromDDMMYYYYString()

converts DD-MM-YYYY to DateTime

Implementation

DateTime fromDDMMYYYYString() {
  return Date.parse(this, pattern: 'dd-MM-yyyy');
}