beforeUpdate method

void beforeUpdate()

Implementation

void beforeUpdate() {
  updatedAt = DateTime.now();
}