Annotation constructor

Annotation({
  1. required int pageNumber,
})

Creates a new instance of the Annotation class.

Implementation

Annotation({required int pageNumber}) : assert(pageNumber > 0) {
  _pageNumber = pageNumber;
}