add OneGang product type to routine

This commit is contained in:
mohammad
2025-04-17 09:32:20 +03:00
parent ccde857c29
commit 60df77efad
4 changed files with 343 additions and 136 deletions
@@ -74,6 +74,7 @@ class Action {
ExecutorProperty? executorProperty;
String? name;
String? type;
String? productType;
Action({
required this.actionExecutor,
@@ -81,6 +82,7 @@ class Action {
this.executorProperty,
this.name,
this.type,
this.productType,
});
String toRawJson() => json.encode(toJson());
@@ -92,6 +94,7 @@ class Action {
entityId: json["entityId"],
name: json['name'],
type: json['type'],
productType: json['productType'],
);
}
if (json["executorProperty"] == null) {
@@ -102,6 +105,7 @@ class Action {
actionExecutor: json["actionExecutor"],
entityId: json["entityId"],
executorProperty: ExecutorProperty.fromJson(json["executorProperty"]),
productType: json['productType'],
);
}