update deprecated

This commit is contained in:
kit
2024-09-09 10:26:22 +07:00
parent ec2d14570a
commit 067abee437
7 changed files with 7 additions and 12 deletions

View File

@@ -65,7 +65,7 @@ class LocalServer {
});
completer.complete();
});
}, onError: (e, stackTrace) => print('Error: $e $stackTrace'));
});
return completer.future;
}
}
@@ -117,7 +117,7 @@ class WebSocketServer {
}, onError: (err) => print('[!]Error -- ${err.toString()}'));
completer.complete();
}, onError: (err) => print('[!]Error -- ${err.toString()}'));
}, onError: (err) => print('[!]Error -- ${err.toString()}'));
});
return completer.future;
}