buildCommand method
Build the @ command to be sent to remote secondary for execution.
Implementation
@override
String buildCommand() {
var command = 'delete:';
if (isCached) {
command += 'cached:';
}
if (isPublic) {
command += 'public:';
}
if (sharedWith != null && sharedWith!.isNotEmpty) {
command += '${VerbUtil.formatAtSign(sharedWith)}:';
}
if (sharedBy != null && sharedBy!.isNotEmpty) {
command += '$atKey${VerbUtil.formatAtSign(sharedBy)}';
} else {
command += atKey!;
}
command += '\n';
return command;
}