replace<T> method

Future<T?> replace<T>(
  1. String path, [
  2. dynamic result
])

Implementation

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