RootNodeSpec.fromMap constructor
RootNodeSpec.fromMap(
- Map spec
Implementation
factory RootNodeSpec.fromMap(Map spec) {
final specClone = spec.clone();
return RootNodeSpec(
specClone.remove("_id") ?? "",
specClone.remove("name"),
specClone.remove("_type"),
specClone.remove("properties") ?? {},
actions: specClone.remove("actions") ?? {},
);
}