VSNodeSerializationManager class

Constructors

VSNodeSerializationManager({required List nodeBuilders, dynamic onBuilderMissing(Map nodeJSON)?, List<VSNodeDataBuilder>? additionalNodes})
Builds maps based on supplied nodeBuilders

Properties

contextNodeBuilders Map<String, dynamic>
final
hashCode int
The hash code for this object.
no setterinherited
onBuilderMissing → dynamic Function(Map nodeJSON)?
This function gets called when a node failed to deserialize due to a missing builder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deserializeNodes(String dataString) Map<String, VSNodeData>
Deserializes data in two steps:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serializeNodes(Map<String, VSNodeData> data) String
Calls jsonEncode on data
toString() String
A string representation of this object.
inherited

Operators

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