cutPaper method
Implementation
@override
Future<bool> cutPaper() async {
try {
debugPrint('MethodChannel: Invoking cutPaper');
final bool? result = await methodChannel.invokeMethod<bool>('cutPaper');
debugPrint('MethodChannel: cutPaper result: $result');
return result ?? false;
} on PlatformException catch (e) {
throw Exception('Cut paper failed: ${e.message}');
}
}