ChatImageMessageBody class

The image message body class.

Inheritance

Constructors

ChatImageMessageBody({required String localPath, String? displayName, String? thumbnailLocalPath, bool sendOriginalImage = false, int? fileSize, double? width, double? height})
Creates an image message body with an image file.

Properties

displayName String?
The attachment name.
getter/setter pairinherited
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 image 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
sendOriginalImage bool
Whether to send the original image.
getter/setter pair
thumbnailLocalPath String?
The local path or the URI (a string) of the thumbnail.
getter/setter pair
thumbnailRemotePath String?
The URL of the thumbnail on the server.
getter/setter pair
thumbnailSecret String?
The secret to access the thumbnail. A secret is required for verification for thumbnail download.
getter/setter pair
thumbnailStatus DownloadStatus
The download status of the thumbnail.
getter/setter pair
type MessageType
Gets the chat message type.
getter/setter pairinherited
width double?
The image width in pixels.
getter/setter pair

Methods

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

Operators

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