formatDate method

String formatDate()

Implementation

String formatDate() {
  final formatter = DateFormat('dd/MM/yyyy');
  return formatter.format(this);
}