Article constructor

Article({
  1. ArticleLinks? links,
  2. DateTime? createdAt,
  3. String? id,
  4. required String name,
  5. String? text,
  6. String? type,
  7. DateTime? updatedAt,
})

Returns a new Article instance.

Implementation

Article({
  this.links,
  this.createdAt,
  this.id,
  required this.name,
  this.text,
  this.type,
  this.updatedAt,
});