AudioItemModel class

Constructors

AudioItemModel({required String title, required String artist, required int? duration, required String path, required String? image})
const
AudioItemModel.fromJson(Map<String, dynamic> json)
Create object from JSON
factory

Properties

artist String
final
duration int?
final
durationFormatted String
no setter
hashCode int
The hash code for this object.
no setterinherited
image String?
final
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert object to JSON
toString() String
A string representation of this object.
inherited

Operators

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