VirtualBackgroundSource class Null safety

自定义的背景。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

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

Properties

backgroundSourceType VirtualBackgroundSourceType?
自定义的背景图类型。
@JsonKey(includeIfNull: false), read / write
color Color?
自定义的背景图颜色。 [...]
@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?
自定义的背景图的本地绝对路径。 支持 PNG 和 JPG 格式。如果路径无效, SDK 会用白色背景图替换原背景图。 [...]
@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