toDate property

String toDate
getter/setter pair

Implementation

String toDate = DateFormat('yyyy-MM-dd').format(DateTime.now());