writeText method

  1. @override
Future<void> writeText(
  1. String text, [
  2. IatTextParams? params
])
override

文本语义

Implementation

@override
Future<void> writeText(String text, [IatTextParams? params]) {
  return methodChannel.invokeMethod(
    AiuiConstant.writeText,
    {
      'text': text,
      'config': params == null ? null : jsonEncode(params.toMap()),
    },
  );
}