setAlignment static method
Sets the alignment of the text
Implementation
static Future<void> setAlignment(SunmiPrintAlign alignment) async {
final args = <String, dynamic>{"align": alignment.index};
await _channel.invokeMethod(commandSetAlign, args);
}