DateTimeCond constructor

const DateTimeCond({
  1. required DateTime min,
  2. required DateTime max,
  3. bool ignore = false,
})

Creates a new instance of the DateTimeCond class.

  • min: A required parameter. Specifies the earliest date and time for queried assets.
  • max: A required parameter. Specifies the latest date and time for queried assets.
  • ignore: An optional parameter, defaults to false. If set to true, all assets will be returned, regardless of date and time constraints.

Implementation

const DateTimeCond({
  required this.min,
  required this.max,
  this.ignore = false,
});