Region class

Describes the scan region of the camera.

When regionMeasuredByPercentage set to true, the values of Top, Left, Right, Bottom indicate the percentage (from 0 to 100); otherwise, they refer to the coordinates.

Constructors

Region({required int? regionTop, required int? regionBottom, required int? regionLeft, required int? regionRight, required int? regionMeasuredByPercentage})
Region.fromJson(Map<String, dynamic> json)

Properties

hashCode int
The hash code for this object.
no setterinherited
regionBottom int?
getter/setter pair
regionLeft int?
getter/setter pair
regionMeasuredByPercentage int?
getter/setter pair
regionRight int?
getter/setter pair
regionTop int?
getter/setter pair
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>
toString() String
A string representation of this object.
inherited

Operators

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