WhiteBoardSceneState.fromJson constructor

WhiteBoardSceneState.fromJson(
  1. Map<String, dynamic> json
)

Implementation

WhiteBoardSceneState.fromJson(Map<String, dynamic> json) {
  index = json["index"];
  scenePath = json["scenePath"];
  scenes =
      (json["scenes"] as List).map<Scene>((e) => Scene.fromJson(e)).toList();
}