getConfig method

IConfig getConfig(
  1. IStatus status,
  2. String fileName
)

Implementation

IConfig getConfig(IStatus status, String fileName) {
  final nameUtf = fileName.toNativeUtf8(allocator: mem);
  try {
    final res = _getConfig(self, status.self, nameUtf);
    status.checkStatus();
    return IConfig(res);
  } finally {
    mem.free(nameUtf);
  }
}