connectToMesh method
Implementation
@override
Future<bool> connectToMesh() async {
try {
final result = await methodChannel.invokeMethod<bool>('connectToMesh');
return result ?? false;
} on PlatformException catch (e) {
debugPrint('Failed to connect to mesh: ${e.message}');
return false;
}
}