FilterModel constructor

const FilterModel({
  1. required String name,
  2. required FilterMatrix filters,
})

Constructs a FilterModel instance with the specified name and filters.

The name parameter is required and represents the name of the filter. The filters parameter is required and represents the filter matrix to be applied.

Implementation

const FilterModel({
  required this.name,
  required this.filters,
});