DurationProperty constructor
DurationProperty(
- Duration value
Implementation
DurationProperty(Duration value)
: assert(
!value.isNegative,
"Duration must be positive",
),
super("DURATION", DurationValue(value));