WatermarkOptions class Null safety

Agora watermark options. A class for setting the properties of watermark.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

WatermarkOptions({bool? visibleInPreview, Rectangle? positionInLandscapeMode, Rectangle? positionInPortraitMode})
Constructs a WatermarkOptions

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
positionInLandscapeMode Rectangle?
The watermark position in the landscape mode. See Rectangle.
@JsonKey(includeIfNull: false), read / write
positionInPortraitMode Rectangle?
The watermark position in the portrait mode. See Rectangle.
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
visibleInPreview bool?
Whether the watermark image is visible in the local video preview. [...]
@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