ITrackable class abstract

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).
getter/setter pairoverride
create_time DateTime
The UTC time at which the object was created.
getter/setter pair
deleted bool
The logical deletion flag. True when object is deleted and null or false otherwise
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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