createElement method

  1. @override
AutoDisposeProviderElement<State> createElement()
override

An internal method that defines how a provider behaves.

Implementation

@override
AutoDisposeProviderElement<State> createElement() {
  return AutoDisposeProviderElement(this);
}