DateTimeRange constructor

const DateTimeRange(
  1. DateTime start,
  2. DateTime end
)

Creates a DateTimeRange.

Parameters:

  • start (DateTime, required): The beginning of the range.
  • end (DateTime, required): The end of the range.

Implementation

const DateTimeRange(this.start, this.end);