BaseFields constructor

BaseFields({
  1. ObjectTypes object = ObjectTypes.Object,
  2. String id = '',
  3. String createdTime = '',
  4. String lastEditedTime = '',
})

Main base properties constructor.

Can receive the object, the id, the createdTime and the lastEditedTime of the object.

Note: This class is mainly (if no only) used by extending it.

Implementation

BaseFields({
  this.object: ObjectTypes.Object,
  this.id: '',
  this.createdTime: '',
  this.lastEditedTime: '',
});