DeviceEvent class Null safety

Generic Event coming from the native side of Camera, not related to a specific camera module.

This class is used as a base class for all the events that might be triggered from a device, but it is never used directly as an event type.

Do NOT instantiate new events like DeviceEvent() directly, use a specific class instead:

Do class NewEvent extend DeviceEvent when creating your own events. See below for examples: DeviceOrientationChangedEvent... These events are more semantic and more pleasant to use than raw generics. They can be (and in fact, are) filtered by the instanceof-operator.

Implementers
Annotations

Constructors

DeviceEvent()
Creates a new device event.
const

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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