length method
Euclidian distance between start and end.
@return the length of the segment.
Implementation
double length() {
if (_length != null) return _length!;
_length = start.distance(end);
return _length!;
}
Euclidian distance between start and end.
@return the length of the segment.
double length() {
if (_length != null) return _length!;
_length = start.distance(end);
return _length!;
}