getLength method

  1. @override
double getLength()
override

Get total curve arc length

Implementation

@override
double getLength() {
  final lens = getCurveLengths();
  return lens[lens.length - 1];
}