add days to date in dart code example
Example: add years to date dart
DateTime now = new DateTime.now();
DateTime tenYearsLater = DateTime(now.year + 10, now.month, now.day);
DateTime now = new DateTime.now();
DateTime tenYearsLater = DateTime(now.year + 10, now.month, now.day);