adding second to date flutter code example
Example: flutter datetime add hours
var today = new DateTime.now();
var fiftyDaysFromNow = today.add(new Duration(hours: 1));
var today = new DateTime.now();
var fiftyDaysFromNow = today.add(new Duration(hours: 1));