Chapters constructor

Chapters({
  1. String? url,
  2. String? type,
})

Constructor for creating a Chapters object.

The constructor initializes a Chapters object with optional named parameters:

  • url: The URL of the chapters file.
  • type: The type of chapters.

Implementation

Chapters({
  this.url,
  this.type,
});