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