overrideCreator method

  1. @protected
void overrideCreator(
  1. CreatorCallback<E, A> callback, {
  2. bool? autoDispose,
})

Implementation

@protected
void overrideCreator(
  CreatorCallback<E, A> callback, {
  bool? autoDispose,
}) {
  _overriddenCallback = callback;
  _overriddenAutoDispose = autoDispose;
}