resetObject method
void
resetObject()
The resetObject method resets the _lock
instance variable to false.
It is used internally within the class to reset the lock after unit tests are run.
Implementation
void resetObject() {
if (kIsWeb == false && Platform.environment.containsKey('FLUTTER_TEST')) {
_crypto._lock = false;
}
}