NotReadablePropertyException constructor

NotReadablePropertyException(
  1. Type beanType,
  2. String propertyName, [
  3. String? reason
])

The path propertyName of a beanType cannot be read; the optional reason says why (default: "not readable").

Implementation

NotReadablePropertyException(
  this.beanType,
  this.propertyName, [
  String? reason,
]) : super(
       "Invalid property '$propertyName' of $beanType: "
       "${reason ?? 'not readable'}",
     );