CheckedFromJsonException constructor Null safety

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, {
  this.badKey = false,
})  : _className = className,
      innerError = null,
      innerStack = null;