toMap method
Get a Map
of the infos from an AudioFile
object.
Implementation
Map<String, dynamic?> toMap() {
return <String, dynamic?>{
"length": length,
"bitRate": bitRate,
"channels": channels,
"encodingType": encodingType,
"format": format,
"sampleRate": sampleRate,
"isVariableBitRate": isVariableBitRate,
};
}