Publication constructor
Publication({
- PublicationEmbedded? embedded,
- PublicationLinks? links,
- DateTime? createdAt,
- String? id,
- required String message,
- required int read,
- required String title,
- String? type,
- 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,
});