blockly > ISerializable > saveState
ISerializable.saveState() method
Signature:
saveState(doFullSerialization: boolean): any;
Parameters
Parameter | Type | Description |
---|---|---|
doFullSerialization | boolean | If true, this signals that any backing data structures used by this ISerializable should also be serialized. This is used for copy-paste. |
Returns:
any
a JSON serializable value that records the ISerializable's state.