InvalidJsonException constructor
const
InvalidJsonException({})
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,
});