Picture class

A class representing an ID3v2 attached picture.

Although the term "artwork" is often used to refer to attached pictures, it was decided that this class would be named Picture because the specs don't mention the word "artwork" at all (neither v2.3 nor v2.4).

In ID3v2 (both v2.3 and v2.4), an attached picture is represented by a frame of ID APIC. Its maximal theoretical size is about 4.29 Gb.

Constructors

Picture({required String description, required String mimeType, required PictureType pictureType, required Uint8List data})
Create an Picture from raw data.

Properties

data Uint8List
The actual byte data of the file.
final
description String
The description of the picture.
final
hashCode int
The hash code for this object.
no setterinherited
mimeType String
The mime type of the image format of data.
final
pictureType PictureType
The type of the picture, for example ''
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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