GenericModel.withDate constructor

const GenericModel.withDate(
  1. Object data,
  2. DateTime createdAt, {
  3. String id = "",
  4. String userId = "",
  5. bool invalid = false,
})

Implementation

const GenericModel.withDate(this.data, this.createdAt, {super.id, super.userId, super.invalid});