transform method
Angular invokes the transform method with the value of a binding as the first argument, and any parameters as the second argument in list form.
Implementation
dynamic transform(BlocBase? bloc) {
if (_bloc == null) {
if (bloc != null) {
_subscribe(bloc);
}
} else if (!_maybeStreamIdentical(bloc, _bloc)) {
_dispose();
return transform(bloc);
}
if (bloc == null) {
return null;
}
return _latestValue ?? bloc.state;
}