overrideWithProvider method Null safety

Override overrideWithProvider(
  1. BlocStreamProvider<Value> override(
    1. Arg argument
    )
)

Implementation

Override overrideWithProvider(
  BlocStreamProvider<Value> Function(Arg argument) override,
) =>
    FamilyOverride<Arg>(this, (arg, setup) {
      final provider = call(arg);
      setup(origin: provider.bloc, override: override(arg).bloc);
    });