IIdentifiable<K> class
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
- id ↔ K
-
The unique object identifier of type K.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited