mode property

String get mode

Mode in which the points are currently being deployed.

If not provided during PUT/POST it will be defaulted to interpolated_palette

Throws InvalidValueException if modeValues does not contain mode.

Implementation

String get mode => _mode;
set mode (String mode)

Implementation

set mode(String mode) {
  if (Validators.isValidValue(mode, modeValues)) {
    _mode = mode;
  } else {
    throw InvalidValueException.withValue(mode, modeValues);
  }
}