setOwner method

void setOwner(
  1. IStatus status,
  2. int index,
  3. String owner
)

Implementation

void setOwner(IStatus status, int index, String owner) {
  if (version < 4) {
    throw UnimplementedError(
        "Firebird client library version 4 or later required.");
  }
  final ownerUtf = owner.toNativeUtf8(allocator: mem);
  try {
    _setOwner(self, status.self, index, ownerUtf);
    status.checkStatus();
  } finally {
    mem.free(ownerUtf);
  }
}