Music class

Class to create instance of music to play using MusicPlayer

Constructors

Music({String? id, required String url, required String artist, String? album, required String title, required String image, Duration? duration})

Properties

album String?
Music Album Name
final
artist String
Music Singer
final
duration Duration?
Music Duration
final
hashCode int
The hash code for this object.
no setterinherited
id String
Music ID
final
image String
Music Cover URL
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Music Title
final
url String
Music File URL
final

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