setBaseProperties method

void setBaseProperties({
  1. required String createdTime,
  2. required String lastEditedTime,
})

Set the createdTime and the lastEditedTime properties.

This function is used to set the base properties from the constructor of the class in which it is inherited.

Implementation

void setBaseProperties({
  required String createdTime,
  required String lastEditedTime,
}) {
  this.createdTime = createdTime;
  this.lastEditedTime = lastEditedTime;
}