CameraResolutionChangedEvent class Null safety

An event fired when the resolution preset of the camera has changed.

Inheritance

Constructors

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

Properties

cameraId int
The ID of the Camera this event is associated to.
final, inherited
captureHeight double
The capture height in pixels.
final
captureWidth double
The capture width in pixels.
final
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 CameraResolutionChangedEvent 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