VideoDimensions class Null safety

视频编码像素。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

VideoDimensions({int? width, int? height})
Constructs a VideoDimensions
VideoDimensions.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int?
视频帧在纵轴上的像素。
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int?
视频帧在横轴上的像素。
@JsonKey(includeIfNull: false), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited