durationRemaining property

Future<double> get durationRemaining

Total seconds remaining on all legs.

Implementation

Future<double> get durationRemaining => _methodChannel
    .invokeMethod<double>(MethodChannelEvent.getDurationRemaining)
    .then<double>((dynamic result) => result);