PressureObserver constructor

PressureObserver(
  1. PressureUpdateCallback callback, [
  2. PressureObserverOptions? options
])

Implementation

factory PressureObserver(PressureUpdateCallback callback,
        [PressureObserverOptions? options]) =>
    PressureObserver._(callback, options ?? undefined);