RtcConnection
包含连接信息的类。
Dart
class RtcConnection {
const RtcConnection({this.channelId, this.localUid});
(name: 'channelId')
final String? channelId;
(name: 'localUid')
final int? localUid;
factory RtcConnection.fromJson(Map<String, dynamic> json) =>
_$RtcConnectionFromJson(json);
Map<String, dynamic> toJson() => _$RtcConnectionToJson(this);
}
channelId
频道名。
localUid
本地用户 ID。