Navigate via the provided instruction. Returns a promise that resolves when navigation is complete.
Source
Future<dynamic> navigateByInstruction(Instruction instruction, [bool _skipLocationChange = false, bool _replaceState = false]) { if (instruction == null) { return _resolveToFalse; } return this._currentNavigation = this._currentNavigation.then((_) { this._startNavigating(); return this._afterPromiseFinishNavigating( this._navigate(instruction, _skipLocationChange, _replaceState)); }); }