DatePart constructor

const DatePart(
  1. int value, [
  2. Period? period
])

Implementation

const DatePart(
  this.value, [
  this.period,
]);