toDate method
Implementation
String toDate() => this > 0
? DateFormat('dd MMM yyyy')
.format(DateTime.fromMillisecondsSinceEpoch(this).toLocal())
: toString();
String toDate() => this > 0
? DateFormat('dd MMM yyyy')
.format(DateTime.fromMillisecondsSinceEpoch(this).toLocal())
: toString();