CameraClosingEvent class Null safety

An event fired when the camera is going to close.

Inheritance

Constructors

CameraClosingEvent(int cameraId)
Build a CameraClosing event triggered from the camera represented by cameraId.
const
CameraClosingEvent.fromJson(Map<String, dynamic> json)
Converts the supplied Map to an instance of the CameraClosingEvent class.

Properties

cameraId int
The ID of the Camera this event is associated to.
final, inherited
hashCode int
The hash code for this object.
read-only, override
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
toJson() Map<String, dynamic>
Converts the CameraClosingEvent instance into a Map instance that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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