# PathStats (/zh-CN/api-reference/rtc/flutter/class-pathstats)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_pathstats__prototype"></a>

```dart
class PathStats implements AgoraSerializable {
  const PathStats({this.type, this.txKBitRate, this.rxKBitRate});

  @JsonKey(name: 'type')
  final MultipathType? type;

  @JsonKey(name: 'txKBitRate')
  final int? txKBitRate;

  @JsonKey(name: 'rxKBitRate')
  final int? rxKBitRate;

  factory PathStats.fromJson(Map<String, dynamic> json) =>
      _$PathStatsFromJson(json);

  @override
  Map<String, dynamic> toJson() => _$PathStatsToJson(this);
}
```

<a id="class_pathstats__detailed_desc"></a>

:::info[自从]
自 v6.6.2 版本新增。
:::

<a id="class_pathstats__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="type"></a>
<Parameter name="type">

网络路径的类型。详见 [MultipathType](/zh-CN/api-reference/rtc/flutter/enum-multipathtype)。

</Parameter>
<a id="txkbitrate"></a>
<Parameter name="txKBitRate">

该路径的传输码率，单位为 Kbps。

</Parameter>
<a id="rxkbitrate"></a>
<Parameter name="rxKBitRate">

该路径的接收码率，单位为 Kbps。

</Parameter>
</ParameterList>
