CameraInfo class

Information about a camera.

Retrieved from Camera.getCameraInfo.

Implemented types

Constructors

CameraInfo({@required int id, @required Facing facing, @required int orientation})
const
CameraInfo.fromMap(Map<String, dynamic> map)
factory

Properties

direction LensDirection
Location of the camera on the device.
read-only, override
facing Facing
The direction that the camera faces.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
Identifier for a particular camera.
final
name String
Identifier for this camera.
read-only, override
orientation int
The orientation of the camera image. [...]
final
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
Returns a string representation of this object.
inherited

Operators

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