iUpdateBufferTextAlignment method

  1. @override
Future<int> iUpdateBufferTextAlignment(
  1. TextAlignment textAlignment
)
override

Implementation

@override
Future<int> iUpdateBufferTextAlignment(TextAlignment textAlignment) async {
  int textAlignmentValue = textAlignment.id;
  final ret = await methodChannel.invokeMethod(
      PluginFunctionInterfaceConstants.PRINTER_I_UPDATE_BUFFER_TEXT_ALIGNMENT,
      textAlignmentValue);
  return ret;
}