Focus class

Focus configuration.

Annotations
  • @JsonSerializable.new()

Constructors

Focus({required AutoFocusMode autoFocusMode, double? defaultSpeed, double? nearLimit, double? farLimit})
Focus.fromJson(Map<String, dynamic> json)
factory

Properties

autoFocusMode → AutoFocusMode
AutoFocusMode - enum { 'AUTO', 'MANUAL' }
final
defaultSpeed → double?
Optional level parameter (unit unspecified).
final
farLimit → double?
final
hashCode → int
The hash code for this object.
no setterinherited
nearLimit → double?
Parameter to set auto-focus near limit (unit: meter).
final
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.
override

Operators

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

Static Methods

mappedToAutoFocusMode(Map<String, dynamic> value) → AutoFocusMode