AudioFile.fromMap constructor

AudioFile.fromMap(
  1. Map map
)

Create an AudioFile object from a Map of the infos.

Implementation

AudioFile.fromMap(Map map) {
  this.length = map["length"];
  this.bitRate = map["bitRate"];
  this.channels = map["channels"];
  this.encodingType = map["encodingType"];
  this.format = map["format"];
  this.sampleRate = map["sampleRate"];
  this.isVariableBitRate = map["isVariableBitRate"];
}