contrast static method

String contrast(
  1. int amount
)

Implementation

static String contrast(int amount) {
  if (amount < -100 || amount > 100) {
    throw ArgumentError('Amount must be between -100 and 100, inclusive.');
  }
  return '$_filterContrast($amount)';
}