setup for file,(untested)

This commit is contained in:
Prerak Mann
2019-08-08 14:27:10 +05:30
parent c44a1e0996
commit 146d76bc9f
3 changed files with 103 additions and 11 deletions

View File

@@ -190,7 +190,7 @@ class _MyBodyState extends State<Body> {
cId = id;
Nearby().acceptConnection(
id,
onPayLoadRecieved: (endid, bytes) {
onPayLoadRecieved: (endid, bytes, payloadType) {
showSnackbar(endid + ": " + String.fromCharCodes(bytes));
},
);