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