CsafeTimeExtension extension

on

Methods

lengthIsBetween(int minSeconds, int maxSeconds) bool
Validate that this duration rounds to a duration that is between minSeconds (inclusive) and maxSeconds (exclusive)
toBytes() Uint8List

Static Methods

fromBytes(Uint8List bytes) Duration