Classifications constructor

Classifications({
  1. required Iterable<Category> categories,
  2. required int headIndex,
  3. required String? headName,
})

Instantiates a Classifications object with fake values for testing.

Implementation

Classifications({
  required Iterable<Category> categories,
  required int headIndex,
  required String? headName,
})  : _categories = categories,
      _headIndex = headIndex,
      _headName = headName,
      _pointer = null;