TRTCUser class

TRTC 用户的信息,主要包含用户ID和用户所在的房间号

Constructors

TRTCUser()

Properties

hashCode int
The hash code for this object.
no setterinherited
intRoomId int
数字房间 ID。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strRoomId String
描述:字符串类型的房间 ID。房间 ID 必须与 TRTCParams 中的类型一致。
getter/setter pair
userId String
用户 ID
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
将当前对象转换为 JSON 格式。
toString() String
A string representation of this object.
inherited

Operators

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