AudioService constructor Null safety
Implementation
factory AudioService() {
if (_singleton == null) {
_singleton = AudioService._();
}
return _singleton!;
}
factory AudioService() {
if (_singleton == null) {
_singleton = AudioService._();
}
return _singleton!;
}