VirtualBackgroundSource class Null safety

The custom background image.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

VirtualBackgroundSource({VirtualBackgroundSourceType? backgroundSourceType, Color? color, String? source})
Constructs a VirtualBackgroundSource

Properties

backgroundSourceType VirtualBackgroundSourceType?
The type of the custom background image.
@JsonKey(includeIfNull: false), read / write
color Color?
The color of the custom background image. The format is a hexadecimal integer defined by RGB, without the # sign, such as 0xFFB6C1 for light pink. The default value is 0xFFFFFF, which signifies white. The value range is 0x000000,0xffffff. If the value is invalid, the SDK replaces the original background image with a white background image. [...]
@JsonKey(includeIfNull: false, fromJson: _$ColorFromJson, toJson: _$ColorToJson), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source String?
The local absolute path of the custom background image. PNG and JPG formats are supported. If the path is invalid, the SDK replaces the original background image with a white background image. [...]
@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