isLengthSet method

bool isLengthSet()

Return true if length is set, false otherwise.

Implementation

bool isLengthSet() => _length != -1;