readTags method
Method to read ID3 tags from MP3 file.
path
: The path of the file.
return
: A Tag
object of the ID3 tags of the song;
Implementation
Future<Tag?> readTags({
required String path,
}) async {
return Tag.fromMap((await readTagsAsMap(path: path))!);
}