VideoFormat
- Flutter
更新时间不可用
视频帧格式。
class VideoFormat {
const VideoFormat({this.width, this.height, this.fps});
@JsonKey(name: 'width')
final int? width;
@JsonKey(name: 'height')
final int? height;
@JsonKey(name: 'fps')
final int? fps;
factory VideoFormat.fromJson(Map<String, dynamic> json) =>
_$VideoFormatFromJson(json);
Map<String, dynamic> toJson() => _$VideoFormatToJson(this);
}