part of google_track_trace; class TrackTraceController { late final Completer _mapController; // get the duration // get the distance // listen to updates on the source marker // listen to updates on the route void dispose() {} void setController(Completer controller) { _mapController = controller; } Completer getController() { return _mapController; } }