isDateTime property Null safety

bool isDateTime

Implementation

bool get isDateTime => durationCode.contains(unit);