SdbStoreSchemaDef constructor
SdbStoreSchemaDef({
- required String name,
- SdbKeyPath? keyPath,
- bool autoIncrement = false,
- List<
SdbIndexSchemaDef> indexes = const [],
Store schema definition
Implementation
SdbStoreSchemaDef({
required this.name,
this.keyPath,
this.autoIncrement = false,
List<SdbIndexSchemaDef> indexes = const [],
}) : indexes = List.of(indexes)
..sort((index1, index2) => index1.name.compareTo(index2.name));