setAlignment method

  1. @override
Future<void> setAlignment(
  1. IminPrintAlign alignment
)
override

Implementation

@override
Future<void> setAlignment(IminPrintAlign alignment) async {
  Map<String, dynamic> arguments = <String, dynamic>{
    "alignment": alignment.index,
  };
  await methodChannel.invokeMethod<void>('setAlignment', arguments);
}