getUpdateTimestampFields method
Fields that should always be updated with server timestamp (like updatedAt).
Override this method to specify your model's update timestamp fields.
Default: ['updatedAt']
Example:
@override
List<String> getUpdateTimestampFields() {
return ['updatedAt', 'modifiedAt'];
}
Implementation
@override
List<String> getUpdateTimestampFields() => ['updatedAt'];