withTag<T extends StateNotifier<S>, S> static method

StateTagProvider<T, S> withTag<T extends StateNotifier<S>, S>(
  1. _LazyCallback<T> creator, {
  2. bool autoDispose = true,
})

Implementation

static StateTagProvider<T, S> withTag<T extends StateNotifier<S>, S>(
  _LazyCallback<T> creator, {
  bool autoDispose = true,
}) {
  return StateTagProvider<T, S>(
    creator: creator,
    autoDispose: autoDispose,
  );
}