UniqueIndex class
Unique Index
- Annotations
-
- @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)
Constructors
-
UniqueIndex({String? name, required List<
String> fields}) -
Create a new unique index.
const
-
UniqueIndex.fromJson(Map<
String, dynamic> json) -
Unique index from JSON factory constructor.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Unique index as JSON map.
-
toString(
) → String -
Unique index as JSON string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited