setAlignment static method
Implementation
static setAlignment(Object alignment) {
try {
sunmi.SunmiPrinter.setAlignment(alignment as sunmi_enums.SunmiPrintAlign);
} catch (e) {
throw Exception('Error setting alignment: $e');
}
}
static setAlignment(Object alignment) {
try {
sunmi.SunmiPrinter.setAlignment(alignment as sunmi_enums.SunmiPrintAlign);
} catch (e) {
throw Exception('Error setting alignment: $e');
}
}