getDistanceRemaining method

  1. @override
Future<double?> getDistanceRemaining()
override

Total distance remaining in meters along route.

Implementation

@override
Future<double?> getDistanceRemaining() async {
  final distance =
      await methodChannel.invokeMethod<double?>('getDistanceRemaining');
  return distance;
}