create method Null safety

  1. @override
AsyncValue<State> create(
  1. covariant StreamProviderElement<State> ref
)
override

Initializes the state of a provider

Implementation

@override
AsyncValue<State> create(covariant StreamProviderElement<State> ref) {
  return ref._listenStream(() => _create(ref));
}