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