IIdentifiable<K> class
abstract
Generic interface for data objects that can be uniquely identified by an id.
The type specified in the interface defines the type of id field.
Example
class MyData implements IIdentifiable<string> {
String id;
String field1;
int field2;
...
}
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ K?
-
The unique object identifier of type K.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited