buildCommand method

  1. @override
String buildCommand()
override

Build the @ command to be sent to remote secondary for execution.

Implementation

@override
String buildCommand() {
  String command = 'lookup:';
  if (bypassCache == true) {
    command += 'bypassCache:$bypassCache:';
  }
  if (operation != null) {
    command += '$operation:';
  }
  command += atKey!;
  return '$command${VerbUtil.formatAtSign(sharedBy)}\n';
}