FilterTransformation constructor

const FilterTransformation(
  1. FilterTValue name, [
  2. int amount = 100
])

Implementation

const FilterTransformation(FilterTValue name, [this.amount = 100])
    : assert(amount >= -100 && amount <= 200, 'Should be in -100..200 range'),
      super(name);