set method

void set(
  1. IStatus status,
  2. String s
)

Implementation

void set(IStatus status, String s) {
  final sUtf = s.toNativeUtf8(allocator: mem);
  try {
    _set(self, status.self, sUtf);
    status.checkStatus();
  } finally {
    mem.free(sUtf);
  }
}