free method

void free()

Frees the scan.

Throws an AskarScanException if the scan fails to free.

Implementation

void free() {
  try {
    askarScanFree(this).throwOnError();
  } catch (e) {
    throw AskarScanException('Failed to free scan: $e');
  }
}