CheckedFromJsonException constructor

CheckedFromJsonException(
  1. Map map,
  2. String key,
  3. String className,
  4. String message,
  5. {bool badKey = false}
)

Creates a new instance of CheckedFromJsonException.

Implementation

CheckedFromJsonException(
  this.map,
  this.key,
  String className,
  this.message, {
  bool badKey = false,
})  : _className = className,
      badKey = badKey ?? false,
      innerError = null,
      innerStack = null;