test method

void test(
  1. String? text
)

Implementation

void test(String? text) {
  if (text != null) {
    var result = text.toNativeUtf8();
    openjtalkTest(this, result);
    calloc.free(result);
  } else {
    openjtalkTest(this, nullptr);
  }
}