create method Null safety

  1. @override
BlocStreamProvider<Value> create(
  1. Arg argument
)
override

Creates the provider for a given parameter.

Implementation

@override
BlocStreamProvider<Value> create(
  Arg argument,
) =>
    BlocStreamProvider(
      (ref) => _create(ref, argument),
      name: name,
      from: this,
      argument: argument,
    );