EMVoiceMessageBody class Null safety

The voice message body class.

Inheritance

Constructors

EMVoiceMessageBody({dynamic localPath, int duration = 0, String? displayName, int? fileSize})
Creates a voice message. [...]

Properties

displayName String?
The attachment name.
read / write, inherited
duration int
The voice duration in seconds.
late, final
fileSize int?
The size of the attachment in bytes.
read / write, inherited
fileStatus DownloadStatus
The download status of the attachment.
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
localPath String
The local path of the attachment.
late, final, inherited
remotePath String?
The attachment path in the server.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secret String?
The token used to get the attachment.
read / write, inherited
type MessageType
Gets the chat message type.
read / write, inherited

Methods

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

Operators

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