toString method
Returns a human-readable string for this instance.
This method takes the date part of DateTime.toString.
Implementation
@override
String toString() => dateTime.toString().split(' ')[0];
Returns a human-readable string for this instance.
This method takes the date part of DateTime.toString.
@override
String toString() => dateTime.toString().split(' ')[0];