clearCallbacks method
This method is used internally to clear all properties that have listeners attached to them.
This method should not be called directly.
Implementation
@override
void clearCallbacks() {
final callbacksCopy = List.of(_propertiesWithCallbacks);
_propertiesWithCallbacks.clear();
for (final element in callbacksCopy) {
element.clearListeners();
}
}