getDurationRemaining method

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

Total seconds remaining on all legs.

Implementation

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