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
use a specific class instead:
class NewEvent extend DeviceEvent when creating your own events.
See below for examples:
These events are more semantic and more pleasant to use than raw generics.
They can be (and in fact, are) filtered by the
Creates a new device event.