Shared improved with rules
This commit is contained in:
@@ -55,7 +55,7 @@ class CollaborativeArea extends SerializerDeserializer<CollaborativeArea> {
|
||||
List<Workspace> workspaces = [];
|
||||
List<Workflow> workflows = [];
|
||||
List<Peer> peers = [];
|
||||
List<Rule> rules = [];
|
||||
List<dynamic> rules = [];
|
||||
CollaborativeAreaRule? rule;
|
||||
|
||||
CollaborativeArea(
|
||||
@@ -85,7 +85,7 @@ class CollaborativeArea extends SerializerDeserializer<CollaborativeArea> {
|
||||
workspaces: json.containsKey("shared_workspaces") ? fromListJson(json["shared_workspaces"], Workspace()) : [],
|
||||
workflows: json.containsKey("shared_workflows") ? fromListJson(json["shared_workflows"], Workflow()) : [],
|
||||
peers: json.containsKey("shared_peers") ? fromListJson(json["shared_peers"], Peer()) : [],
|
||||
rules: json.containsKey("shared_rules") ? fromListJson(json["shared_rules"], Rule()) : [],
|
||||
rules: json.containsKey("rules") ? json["rules"] : [],
|
||||
);
|
||||
}
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user