printRawText method
Implementation
@override
Future<Map<String, dynamic>> printRawText(String text) async {
try {
final Map<String, dynamic> result = Map<String, dynamic>.from(
await channel.invokeMethod('printRawText', {
'text': text,
}),
);
return result;
} on PlatformException catch (e) {
throw SmartPosException('Failed to print raw text: ${e.message}');
}
}