injectMock method
Mock InjectedNavigator
Implementation
void injectMock(NavigationBuilder mock, {String? startRoute}) {
(mock as InjectedNavigator)._navigationBuilder = this;
return _navigationBuilder.injectMock(mock, startRoute: startRoute);
}