InvalidJsonException constructor

const InvalidJsonException({
  1. required String id,
  2. required String path,
  3. required String api,
  4. required Map<String, dynamic> data,
})

Creates a new invalid JSON exception with context

Parameters: id unique identifier of the document with invalid JSON path Firestore path where the document was found api name of the API that encountered the error data the actual invalid JSON data

Implementation

const InvalidJsonException({
  required this.id,
  required this.path,
  required this.api,
  required this.data,
});