Publication constructor

Publication({
  1. PublicationEmbedded? embedded,
  2. PublicationLinks? links,
  3. DateTime? createdAt,
  4. String? id,
  5. required String message,
  6. required int read,
  7. required String title,
  8. String? type,
  9. DateTime? updatedAt,
})

Returns a new Publication instance.

Implementation

Publication({
  this.embedded,
  this.links,
  this.createdAt,
  this.id,
  required this.message,
  required this.read,
  required this.title,
  this.type,
  this.updatedAt,
});