CameraErrorEvent class
An event fired when an error occured while operating the camera.
- Inheritance
-
- Object
- CameraEvent
- CameraErrorEvent
Constructors
- CameraErrorEvent(int cameraId, String description)
-
Build a CameraError event triggered from the camera represented by
cameraId
.const -
CameraErrorEvent.fromJson(Map<
String, dynamic> json) - Converts the supplied Map to an instance of the CameraErrorEvent class.
Properties
- cameraId → int
-
The ID of the Camera this event is associated to.
finalinherited
- description → String
-
Description of the error.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the CameraErrorEvent 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