PlaceholderResolutionException constructor

PlaceholderResolutionException(
  1. String reason,
  2. String placeholder, [
  3. String? value
])

Creates an exception with a reason, placeholder, and optional value.

Implementation

PlaceholderResolutionException(
  this.reason,
  this.placeholder, [
  String? value,
])  : values = value != null ? [value] : const [],
      super(_buildMessage(reason, value != null ? [value] : const []));