buildCommand method
Build the @ command to be sent to remote secondary for execution.
Implementation
@override
String buildCommand() {
var command = 'sync:';
if (isStream) {
command += 'stream:';
}
command += '$commitId';
if (regex != null && regex!.isNotEmpty) {
command += ':$regex';
}
command += '\n';
return command;
}