toJson method
Implementation
Map<String, Object?> toJson() {
var operation = this.operation;
var restrictions = this.restrictions;
final json = <String, Object?>{};
json[r'operation'] = operation.value;
json[r'restrictions'] = restrictions.toJson();
return json;
}