Dart Documentationdock_spawnDockGraphSerializer

DockGraphSerializer Class

The serializer saves / loads the state of the dock layout hierarchy

Methods

Code String serialize(DockModel model) #

String serialize(DockModel model) {
  var graphInfo = _buildGraphInfo(model.rootNode);
  return JSON.stringify(graphInfo);
}