# RtcConnection (/zh-CN/api-reference/rtc/flutter/class-rtcconnection) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```dart class RtcConnection { const RtcConnection({this.channelId, this.localUid}); @JsonKey(name: 'channelId') final String? channelId; @JsonKey(name: 'localUid') final int? localUid; factory RtcConnection.fromJson(Map json) => _$RtcConnectionFromJson(json); Map toJson() => _$RtcConnectionToJson(this); } ``` ## 属性 [#属性] 频道名。 本地用户 ID。