VideoDimensions
视频尺寸。
class VideoDimensions { const VideoDimensions({this.width, this.height}); @JsonKey(name: 'width') final int? width; @JsonKey(name: 'height') final int? height; factory VideoDimensions.fromJson(Map<String, dynamic> json) => _$VideoDimensionsFromJson(json); Map<String, dynamic> toJson() => _$VideoDimensionsToJson(this); }
属性
- width
-
视频宽度,单位为像素。
- height
- 视频高度,单位为像素。