VideoNote class

Inheritance

Constructors

VideoNote({required int duration, required int length, Minithumbnail? minithumbnail, Thumbnail? thumbnail, required File video})
Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format
const
VideoNote.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId int?
client identifier
no setterinherited
duration int
duration Duration of the video, in seconds; as defined by the sender
final
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
length int
length Video width and height; as defined by the sender
final
minithumbnail Minithumbnail?
minithumbnail Video minithumbnail; may be null
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnail Thumbnail?
thumbnail Video thumbnail in JPEG format; as defined by the sender; may be null
final
video File
video File containing the video
final

Methods

copyWith({int? duration, int? length, Minithumbnail? minithumbnail, Thumbnail? thumbnail, File? video}) VideoNote
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String