pastTransaction30 function
Implementation
DateTime? pastTransaction30() {
// return last 30 day date
final DateTime now = DateTime.now();
final DateTime past30 = now.subtract(Duration(days: 30));
return past30;
}
DateTime? pastTransaction30() {
// return last 30 day date
final DateTime now = DateTime.now();
final DateTime past30 = now.subtract(Duration(days: 30));
return past30;
}