create method

  1. @override
AutoDisposeStateNotifierProvider<Notifier, State> create(
  1. Arg argument
)
override

Creates the provider for a given parameter.

Implementation

@override
AutoDisposeStateNotifierProvider<Notifier, State> create(Arg argument) {
  return AutoDisposeStateNotifierProvider<Notifier, State>(
    (ref) => _create(ref, argument),
    name: name,
    from: this,
    argument: argument,
  );
}