PressureObserver class

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

PressureObserver(PressureUpdateCallback callback, [PressureObserverOptions? options])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disconnect() → void

Available on PressureObserver, provided by the PropsPressureObserver extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(PressureSource source) → void

Available on PressureObserver, provided by the PropsPressureObserver extension

takeRecords() Iterable<PressureRecord>

Available on PressureObserver, provided by the PropsPressureObserver extension

toString() String
A string representation of this object.
inherited
unobserve(PressureSource source) → void

Available on PressureObserver, provided by the PropsPressureObserver extension

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

requestPermission() Future<PermissionState>