pushText method

Commander pushText(
  1. String command, {
  2. bool newline = PsdkConst.defEnableNewline,
})

Implementation

Commander pushText(
  String command, {
  bool newline = PsdkConst.defEnableNewline,
}) {
  if (command.startsWith(PsdkConst.crlf)) {
    command = command.substring(PsdkConst.crlf.length);
  }
  return pushClause(CommandClause.withText(command), newline: newline);
}