BeautyOptions class Null safety

Sets the image enhancement options.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

BeautyOptions({LighteningContrastLevel? lighteningContrastLevel, double? lighteningLevel, double? smoothnessLevel, double? rednessLevel})
Constructs a BeautyOptions

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
lighteningContrastLevel LighteningContrastLevel?
The lightening contrast level, used with lighteningLevel.
@JsonKey(includeIfNull: false), read / write
lighteningLevel double?
The brightness level. The value ranges between 0.0 (original) and 1.0. The default value is 0.7.
@JsonKey(includeIfNull: false), read / write
rednessLevel double?
The redness level. The value ranges between 0.0 (original) and 1.0. The default value is 0.1. This parameter adjusts the red saturation level.
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
smoothnessLevel double?
The sharpness level. The value ranges between 0.0 (original) and 1.0. The default value is 0.5. This parameter is usually used to remove blemishes.
@JsonKey(includeIfNull: false), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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