InvalidNameException.withValue constructor

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

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

Implementation

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