withinOffset method
Implementation
bool withinOffset(List<List<Offset>> offsetList, Offset offset) {
bool within = false;
for (var offsets in offsetList) {
if (isPointOnLineSegment(offset, offsets.first, offsets.last)) {
within = true;
break;
}
}
return within;
}