DATETime.NOW Addyears Dart
DateTime now = new DateTime.now();
DateTime tenYearsLater = DateTime(now.year + 10, now.month, now.day);
Joyful Code
DateTime now = new DateTime.now();
DateTime tenYearsLater = DateTime(now.year + 10, now.month, now.day);