MemoryMusicCollection constructor

MemoryMusicCollection({
  1. bool picksFolder = false,
  2. Map<String, Uint8List> files = const {},
})

files já está na coleção (sem passar por add); com picksFolder, setFolder só guarda o texto do caminho.

Implementation

MemoryMusicCollection({
  this.picksFolder = false,
  Map<String, Uint8List> files = const {},
}) : _files = Map.of(files);