buildCommand method

  1. @override
String buildCommand()
override

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

Implementation

@override
String buildCommand() {
  var command = 'notify:list';
  if (fromDate != null) {
    command += ':$fromDate';
  }
  if (toDate != null) {
    command += ':$toDate';
  }
  if (regex != null) {
    command += ':$regex';
  }
  return command += '\n';
}