AudioClip class

An audio clip.

Constructors

AudioClip(String identifier, String audioURI, {String? title, String? artist, String? thumbnailURI, double? duration})
Creates a new AudioClip.

Properties

artist String?
The artist of the media item.
finalinherited
audioURI String
A URI for the audio clip. Remote resources are not optimized and therefore should be downloaded in advance and then passed to the editor as local resources.
final
duration double?
The duration of the audio clip in seconds. If null the duration will be automatically derived from the asset.
final
hashCode int
The hash code for this object.
no setterinherited
identifier String
The identifier of the item.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnailURI String?
A URI for the thumbnail image of the audio clip. If null a placeholder image will be used.
final
title String?
The title of the media item.
finalinherited

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