push<T> static method
Pushes a new location onto the navigation stack.
Returns a Future that completes with the result value when the route is popped.
Example:
final result = await BloomRouter.push<bool>('/modal-dialog');
Implementation
static Future<T?> push<T>(String location, {Object? extra}) {
return instance.push<T>(location, extra: extra);
}