skipDoubleRegistration property

  1. @visibleForTesting
bool skipDoubleRegistration
getter/setter pair

By default it's throws error when allowReassignment= false. and trying to register same type If you really need, you can disable the Asserts / Errror by settingskipDoubleRegistration= true

Implementation

@visibleForTesting
bool skipDoubleRegistration = false;