getDurationRemaining method
Total seconds remaining on all legs.
Implementation
@override
Future<double?> getDurationRemaining() async {
final duration =
await methodChannel.invokeMethod<double?>('getDurationRemaining');
return duration;
}