VideoDimensions

The video dimension.

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);
}

Attributes

width

The width (pixels) of the video.

height
The height (pixels) of the video.