isMacro method

bool isMacro(
  1. String command
)

Implementation

bool isMacro(String command) {
  var line = trim().toLowerCase();
  return line.startsWith('<!-- #$command ') && line.endsWith('-->');
}