buildOn<S extends BaseState> method

void buildOn<S extends BaseState>({
  1. BlocBuilderFunction? func,
})

Implementation

void buildOn<S extends BaseState>({BlocBuilderFunction? func}) {
  func ??= defaultBuilder;
  _builders[S.toString()] = func;
}