toSwissDate property

DateTime? get toSwissDate

Date in format dd.MM.yyyy

Implementation

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