VideoSize class

Available Extensions
Annotations
  • @CopyWith(skipFields: true)
  • @JsonSerializable()

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
Height of the video in pixels. A value of -1 means the height is unknown. Value becomes available after the upload, before the video is ready.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Width of the video in pixels. A value of -1 means the width is unknown. Value becomes available after the upload, before the video is ready.
final

Methods

fromJsonList(List? jsonList) List<VideoSize>?
inherited
fromJsonMap(Map<String, dynamic>? json) VideoSize?
fromJsonString(String? json) VideoSize?
inherited
fromJsonStringList(String? jsonStringList) List<VideoSize>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
inherited
toJsonString() String
inherited
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
inherited

Operators

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