value_dup method

PtrValue? value_dup(
  1. PtrValue arg1
)
inherited

Implementation

PtrValue? value_dup(PtrValue arg1) {
  if (libVersionNumber < 3008011) {
    throw dbsql.DatabaseException('API sqlite3_value_dup is not available before 3.8.11');
  }
  var result = _h_sqlite3_value_dup!(arg1);
  return result == ffi.nullptr ? null : result;
}