Focus class Null safety

Focus configuration.

Annotations

Constructors

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

Properties

autoFocusMode String
AutoFocusMode - enum { 'AUTO', 'MANUAL' }
@JsonKey(name: 'AutoFocusMode', fromJson: OnvifUtil.mappedToString), final
defaultSpeed double?
Optional level parameter (unit unspecified).
@JsonKey(name: 'DefaultSpeed', fromJson: OnvifUtil.mappedToDouble), final
farLimit double?
@JsonKey(name: 'FarLimit', fromJson: OnvifUtil.mappedToDouble), final
hashCode int
The hash code for this object.
read-only, inherited
nearLimit double?
Parameter to set autofocus near limit (unit: meter).
@JsonKey(name: 'NearLimit', fromJson: OnvifUtil.mappedToDouble), 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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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