@override Future<String?> printToBuffer() async { final res = await methodChannel.invokeMethod<String>('printToBuffer'); return res; }