unregisterAmbientCallback method

void unregisterAmbientCallback(
  1. AmbientCallback callback
)

Unregister callback for ambient notifications

Implementation

void unregisterAmbientCallback(AmbientCallback callback) {
  _ambientCallbacks.remove(callback);
}