IChangeable

Interface for data objects that need to store the last modified date and time.

Description

The IChangeable interface allows you to store the last modified date and time in the “change_time” parameter of a data object.

Fields

change_time

The UTC time at which the object was last changed (created or updated).

abstract change_time: DateTime

Examples

class MyData implements IStringIdentifiable, IChangeable {
     String id;
     String field1;
     int field2;
     
     @override
     DateTime change_time;
    ...
}