stateArguments<N extends StateNotifier<S>, S, A> static method

StateNotifierArgumentsProvider<N, S, A> stateArguments<N extends StateNotifier<S>, S, A>(
  1. CreatorCallback<N, A> callback, {
  2. bool autoDispose = true,
  3. bool tags = false,
})

creates a StateNotifierArgumentsProvider

Implementation

static StateNotifierArgumentsProvider<N, S, A>
    stateArguments<N extends StateNotifier<S>, S, A>(
  CreatorCallback<N, A> callback, {
  bool autoDispose = true,
  bool tags = false,
}) {
  return StateNotifierArgumentsProvider(
    callback,
    autoDispose: autoDispose,
  );
}