Dart Documentationdock_spawnDockGraphDeserializer

DockGraphDeserializer Class

Deserializes the dock layout hierarchy from JSON and creates a dock hierarhcy graph

Constructors

Code new DockGraphDeserializer(DockManager dockManager) #

DockGraphDeserializer(this.dockManager);

Methods

Code DockModel deserialize(String json) #

DockModel deserialize(String json) {
  Map<String, Object> graphInfo = JSON.parse(json);
  DockModel model = new DockModel();
  model.rootNode = _buildGraph(graphInfo);
  return model;
}

Fields

Code DockManager dockManager #

DockManager dockManager;