BaseEntity<V> constructor

BaseEntity<V>(
  1. int? id, {
  2. String? createdAt,
  3. String? updateAt,
})

Implementation

BaseEntity(
  this.id, {
  String? createdAt,
  String? updateAt,
})  : createdAt = createdAt ?? DateTime.now().toIso8601String(),
      updatedAt = updateAt ?? DateTime.now().toIso8601String();