DateAnswerFormat constructor
Implementation
DateAnswerFormat({
this.defaultDate,
this.minDate,
this.maxDate,
}) : assert(minDate == null || maxDate == null || minDate.isBefore(maxDate)),
assert(defaultDate == null ||
minDate == null ||
defaultDate.isAtSameMomentAs(minDate) ||
defaultDate.isAfter(minDate)),
assert(defaultDate == null ||
maxDate == null ||
defaultDate.isAtSameMomentAs(maxDate) ||
defaultDate.isBefore(maxDate)),
super();