brailleText method

void brailleText(
  1. String text
)

Implementation

void brailleText(String text) {
  final ctext = text.toNativeUtf16(allocator: calloc).cast<Uint16>();
  final result = _dll.nvdaController_brailleMessage(ctext);
  try {
    if(FAILED(result)) {
      throw NvdaException(result);
    }
  } finally {
    calloc.free(ctext);
  }
}