replace<T> method
Implementation
Future<T?> replace<T>(String path, [dynamic result]) =>
this((actions, state) => _replace(
actions,
state,
actions.pathBuilder(state.fullPath, path),
result,
));