toDateString method

String toDateString()

Implementation

String toDateString() {
  if (this != null) {
    return DateFormat('dd/MM/yyyy').format(this!);
  }
  return '';
}