PrimaryKey class
Field primary key.
- Annotations
-
- @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)
Constructors
-
PrimaryKey({String? name, required List<
String> fields}) -
Create a new primary key.
const
-
PrimaryKey.fromJson(Map<
String, dynamic> json) -
Primary key 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> - Primary key as JSON map.
-
toString(
) → String -
Primary key as JSON string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited