toYYMMDD property
String
get
toYYMMDD
Implementation
String get toYYMMDD {
String year = this.year.toString().padLeft(4, '0');
String month = this.month.toString().padLeft(2, '0');
String day = this.day.toString().padLeft(2, '0');
return '$year-$month-$day';
}