# VideoDimensions (/zh-CN/api-reference/rtc/flutter/class-videodimensions)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```dart
class VideoDimensions {
const VideoDimensions({this.width, this.height});
@JsonKey(name: 'width')
final int? width;
@JsonKey(name: 'height')
final int? height;
factory VideoDimensions.fromJson(Map json) =>
_$VideoDimensionsFromJson(json);
Map toJson() => _$VideoDimensionsToJson(this);
}
```
## 属性 [#属性]
视频宽度,单位为像素。
视频高度,单位为像素。