PropertyDelegate class abstract

WORKERS THAT NAVIGATE DIFFERENT TOKENS RESPONSIBLE FOR ACCUMULATING CHARACTERS RESPONSIBLE FOR EMITTING TO THE PROPERTY STREAMS RESPONSIBLE FOR HANDLING CHUNK ENDS RESPONSIBLE FOR SIGNALLING COMPLETION OF THEIR TASK RESPONSIBLE FOR CREATING CHILD DELEGATES AS NEEDED RESPONSIBLE FOR UPDATING THE MASTER PARSER'S STATE VIA THE CONTROLLER

Delegates are not supposed to just hold states and data, but rather, mutate the master parser's state machine as characters are fed to them.

Mixed-in types
Implementers

Constructors

PropertyDelegate({required String propertyPath, required JsonStreamParserController parserController, void onComplete()?})

Properties

hashCode int
The hash code for this object.
no setterinherited
isDone bool
getter/setter pair
onComplete → void Function()?
final
parserController JsonStreamParserController
final
propertyPath String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCharacter(String character) → void
addPropertyChunk<T>(T value, {String? innerPath}) → void
createDelegate(String character, {required String propertyPath, required JsonStreamParserController jsonStreamParserController, void onComplete()?}) PropertyDelegate
inherited
newPath(String path) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChunkEnd() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited