toJson method
Implementation
Map<String, Object?> toJson() {
var add = this.add;
var copy = this.copy;
var edit = this.edit;
var remove = this.remove;
var set = this.set;
final json = <String, Object?>{};
if (add != null) {
json[r'add'] = add;
}
if (copy != null) {
json[r'copy'] = copy;
}
if (edit != null) {
json[r'edit'] = edit;
}
if (remove != null) {
json[r'remove'] = remove;
}
if (set != null) {
json[r'set'] = set;
}
return json;
}