Audio class

Inheritance

Constructors

Audio({int duration, String title, String performer, String fileName, String mimeType, Minithumbnail albumCoverMinithumbnail, Thumbnail albumCoverThumbnail, File audio})
Describes an audio file. Audio is usually in MP3 or M4A format
Audio.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

albumCoverMinithumbnail Minithumbnail
albumCoverMinithumbnail The minithumbnail of the album cover; may be null
read / write
albumCoverThumbnail Thumbnail
albumCoverThumbnail The thumbnail of the album cover in JPEG format; as defined by the sender. The full size thumbnail should be extracted from the downloaded file; may be null
read / write
audio File
audio File containing the audio
read / write
duration int
duration Duration of the audio, in seconds; as defined by the sender
read / write
fileName String
fileName Original name of the file; as defined by the sender
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
mimeType String
mimeType The MIME type of the file; as defined by the sender
read / write
performer String
performer Performer of the audio; as defined by the sender
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
title Title of the audio; as defined by the sender
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

Constants

CONSTRUCTOR → const String
'audio'