ChatVideoMessageBody class

The video message body class.

Inheritance

Constructors

ChatVideoMessageBody.new({required String localPath, String? displayName, int? duration = 0, int? fileSize, String? thumbnailLocalPath, double? height, double? width})
Creates a video message.
ChatVideoMessageBody.fromJson({required Map map})

Properties

displayName ↔ String?
The attachment name.
getter/setter pairinherited
duration ↔ int?
The video duration in seconds.
getter/setter pair
fileSize ↔ int?
The size of the attachment in bytes.
getter/setter pairinherited
fileStatus ↔ DownloadStatus
The download status of the attachment.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
height ↔ double?
The video height in pixels.
getter/setter pair
localPath ↔ String
The local path of the attachment.
latefinalinherited
remotePath ↔ String?
The attachment path in the server.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret ↔ String?
The token used to get the attachment.
getter/setter pairinherited
thumbnailLocalPath ↔ String?
The local path of the video thumbnail.
getter/setter pair
thumbnailRemotePath ↔ String?
The URL of the thumbnail on the server.
getter/setter pair
thumbnailSecret ↔ String?
The secret key of the video thumbnail.
getter/setter pair
thumbnailStatus ↔ DownloadStatus
The download status of the video thumbnail.
getter/setter pair
type ↔ MessageType
Gets the chat message type.
getter/setter pairinherited
width ↔ double?
The video width in pixels.
getter/setter pair

Methods

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

Operators

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