schema method

SdbIndexSchema schema({
  1. required Object keyPath,
  2. bool? unique,
})

Create store schema, keyPath is String, a List<String> or SdbKeyPath

Implementation

SdbIndexSchema schema({required Object keyPath, bool? unique}) {
  return impl.indexSchema(keyPath: keyPath, unique: unique);
}