findPos method

IConfigEntry findPos(
  1. IStatus status,
  2. String name,
  3. int pos
)

Implementation

IConfigEntry findPos(IStatus status, String name, int pos) {
  final nameUtf = name.toNativeUtf8(allocator: mem);
  try {
    final res = _findPos(self, status.self, nameUtf, pos);
    status.checkStatus();
    return IConfigEntry(res);
  } finally {
    mem.free(nameUtf);
  }
}