WhiteBalance class Null safety

White balance settings.

Annotations

Constructors

WhiteBalance({required String mode, required double? crGain, required double? cbGain})
WhiteBalance.fromJson(Map<String, dynamic> json)
factory

Properties

cbGain double?
Bgain (unitless).
@JsonKey(name: 'CbGain', fromJson: OnvifUtil.mappedToDouble), final
crGain double?
Rgain (unitless).
@JsonKey(name: 'CrGain', fromJson: OnvifUtil.mappedToDouble), final
hashCode int
The hash code for this object. [...]
read-only, inherited
mode String
Auto whitebalancing mode (auto/manual). [...]
@JsonKey(name: 'Mode', fromJson: OnvifUtil.mappedToString), 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