setupOverride method Null safety

  1. @override
void setupOverride(
  1. Arg argument,
  2. SetupOverride setup
)
override

Allows a family to override all the different providers associated with an argument.

Implementation

@override
void setupOverride(Arg argument, SetupOverride setup) {
  final provider = call(argument);
  setup(origin: provider.bloc, override: provider.bloc);
}