ITrackable class

Interface for data objects that can track their changes, including logical deletion.

See IChangeable

Example

class MyData implements IStringIdentifiable, ITrackable {
    String id;
    String  field1;
    int field2;
    ...
    DateTime change_time;
    DateTime create_time;
    bool deleted;
}
Implemented types

Constructors

ITrackable()

Properties

change_time DateTime
The UTC time at which the object was last changed (created, updated, or deleted).
read / write, override
create_time DateTime
The UTC time at which the object was created.
read / write
deleted bool
The logical deletion flag. True when object is deleted and null or false otherwise
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 ==(Object other) bool
The equality operator. [...]
inherited