redirect method

Future<void> redirect({
  1. required String path,
})

Update current widget path & request a new widget

Implementation

Future<void> redirect({required String path}) async {
  _path = path;
  return await get();
}