AgoraImage class Null safety

Agora image properties. A class for setting the properties of the watermark and background images.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AgoraImage(String url, {int? x, int? y, int? width, int? height})
Constructs a AgoraImage

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int?
Height of the image on the broadcasting video.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
HTTP/HTTPS URL address of the image on the broadcasting video. The maximum length of this parameter is 1024 bytes.
read / write
width int?
Width of the image on the broadcasting video.
read / write
x int?
Position of the image on the upper left of the broadcasting video on the horizontal axis.
@JsonKey(includeIfNull: false), read / write
y int?
Position of the image on the upper left of the broadcasting video on the vertical axis.
@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