insertString method

void insertString(
  1. IStatus status,
  2. int tag,
  3. String str
)

Implementation

void insertString(IStatus status, int tag, String str) {
  Pointer<Utf8> strUtf = str.toNativeUtf8(allocator: mem);
  try {
    _insertString(self, status.self, tag, strUtf);
    status.checkStatus();
  } finally {
    mem.free(strUtf);
  }
}