NCM class
Example:
final ncm = NCM();
final raw = await File('a.ncm').readAsBytes();
final target = await File('a.mp3').readAsBytes();
ncm.setRaw(raw);
ncm.parse();
// music data
print(ncm.music);
Constructors
- NCM.new()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
) → void -
Parse raw data.
If
_raw
is not set, please call setRaw first. -
setRaw(
Uint8List raw) → void -
Set raw data.
raw
must be a valid NCM file bytes. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited