getDate method
Retrieves the current date.
Implementation
@override
Future<String> getDate() async {
DateTime now = DateTime.now();
String date = '${now.year}-${now.month}-${now.day}';
// String time = '${now.hour}:${now.minute}:${now.second}';
return date;
}