addCharacter method
Implementation
@override
void addCharacter(String character) {
if (character == "n") {
parserController.addPropertyChunk<Null>(
propertyPath: propertyPath,
chunk: null,
);
// addPropertyChunk already completes the controller
} else if (character == "," || character == "}" || character == "]") {
isDone = true;
onComplete?.call();
return;
}
}