ChannelEncode<EV> constructor

ChannelEncode<EV>({
  1. String? variable,
  2. List<EV>? values,
  3. List<double>? stops,
  4. EV? value,
  5. EV encoder(
    1. Tuple
    )?,
  6. Map<String, Map<bool, SelectionUpdater<EV>>>? updaters,
})

Creates a channel aesthetic encode.

Implementation

ChannelEncode({
  this.variable,
  this.values,
  this.stops,
  EV? value,
  EV Function(Tuple)? encoder,
  Map<String, Map<bool, SelectionUpdater<EV>>>? updaters,
})  : assert(values == null || values.length >= 2),
      super(
        value: value,
        encoder: encoder,
        updaters: updaters,
      );