getStreams method
Returns all streams
Implementation
List<FlutterSoundStreamInformation> getStreams() {
var list = List<FlutterSoundStreamInformation>.empty(growable: true);
var streamList;
if (_allProperties == null) {
streamList = List.empty(growable: true);
} else {
streamList = _allProperties!['streams'];
}
if (streamList != null) {
streamList.forEach((element) {
list.add(FlutterSoundStreamInformation(element));
});
}
return list;
}