Sensor class
- Inheritance
-
- Object
- EventTarget
- Sensor
- Implementers
- Annotations
-
- @Native("Sensor")
Properties
- activated โ bool?
-
no setter
- hashCode โ int
-
The hash code for this object.
no setterinherited
- hasReading โ bool?
-
no setter
- on โ Events
-
This is an ease-of-use accessor for event streams which should only be
used when an explicit accessor is not available.
no setterinherited
-
onError
โ Stream<
Event> -
no setter
- runtimeType โ Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp โ num?
-
no setter
Methods
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) โ void -
inherited
-
dispatchEvent(
Event event) โ bool -
inherited
-
noSuchMethod(
Invocation invocation) โ dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) โ void -
inherited
-
start(
) โ void -
stop(
) โ void -
toString(
) โ String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) โ bool -
The equality operator.
inherited
Constants
-
errorEvent
โ const EventStreamProvider<
Event>