SongInfo class

Constructors

SongInfo({required int id, required String title, required String album, int? albumId, required String artist, int? artistId, required String fileUri, int? duration, int? bookmark, required String absolutePath, required bool isMusic, required bool isPodcast, required bool isRingtone, required bool isAlarm, required bool isNotification, int? fileSize, int? year})
SongInfo.fromJson(String source)
factory
SongInfo.fromMap(Map<String, dynamic> map)
factory

Properties

absolutePath String
final
album String
final
albumId int?
final
artist String
final
artistId int?
final
bookmark int?
final
duration int?
final
fileSize int?
final
fileUri String
final
hashCode int
The hash code for this object.
no setteroverride
id int
final
isAlarm bool
final
isMusic bool
final
isNotification bool
final
isPodcast bool
final
isRingtone bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final
year int?
final

Methods

copyWith({int? id, String? title, String? album, int? albumId, String? artist, int? artistId, String? fileUri, int? duration, int? bookmark, String? absolutePath, bool? isMusic, bool? isPodcast, bool? isRingtone, bool? isAlarm, bool? isNotification, int? fileSize, int? year}) SongInfo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override