You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test('Wrong APIC tags decoding on on Other picture type.', () async {
final pic1 =AttachedPicture(
'image/jpeg', 0x00, 'foo.jpg', picture.readAsBytesSync());
final tag =Tag()
..tags = {'picture': pic1}
..type ='ID3'
..version ='2.4';
final writer =ID3V2Writer();
final blocks = writer.write(await file2.readAsBytes(), tag);
final r =ID3V2Reader();
final f =await r.read(blocks);
// ignore: avoid_asfinalAttachedPicture pic = (f.tags['picture'] asMap).values.first;
expect(pic, equals(pic1));
});
this test will gerenate an error
The text was updated successfully, but these errors were encountered:
Using this final AttachedPicture pic = (f.tags['picture'] as Map).values.first; throws me an error. What can be done in this case please as I see the pic is attached to the comment section rather
this test will gerenate an error
The text was updated successfully, but these errors were encountered: