                         code: "METHOD_CALL",
                         message: call.method + " Arguments must be an NSDictionary",
                         details: nil)
-                    );
-                    break;
+                    )
+                    break
                 }
                 guard let id = args["id"] as? String else {
                     result(FlutterError(
                         code: "METHOD_CALL",
                         message: call.method + " Arguments[id] must be a String",
                         details: nil)
-                    );
-                    break;
+                    )
+                    break
                 }
                 guard let volume = args["volume"] as? Double else {
                     result(FlutterError(
                         code: "METHOD_CALL",
                         message: call.method + " Arguments[volume] must be a String",
                         details: nil)
-                    );
-                    break;
+                    )
+                    break
                 }
                 self.getOrCreatePlayer(id: id)
-                    .setVolume(volume: volume);
-                result(true);
-                break;
+                    .setVolume(volume: volume)
+                result(true)
+                break
                 
             case "playSpeed" :
                 guard let args = call.arguments as? NSDictionary else {

              networkHeaders: NSDictionary?,
              result: @escaping FlutterResult
    ){
        self.stop();
        guard let url = self.getUrlByType(path: assetPath, audioType: audioType, assetPackage: assetPackage) else {
            log("resource not found \(assetPath)")
            result("");
            return
        }
        

            
            
            if(self.player == nil){
                //log("player is null")
                return
            }
            
