setAlignment static method
Implementation
static Future<void> setAlignment({required SunmiPrintAlign align})async{
try{
if(SunmiPrinter.isConnected){
await _channel.invokeMethod('setAlignment',{"align":0});
}else{
throw("Printer is not connect");
}
}catch(err){
rethrow;
}
}