allowNullable property

bool allowNullable
final

Whether null or nil duration is allowed when obtaining.

Be aware, when it's true, the constraint with min and max become optional conditions.

Implementation

final bool allowNullable;