GradientException.withValue constructor

const GradientException.withValue(
  1. int? value, [
  2. String? message
])

Creates a GradientException object that includes the value that triggered this exception.

Implementation

const GradientException.withValue(this.value, [this.message]);