isScriptCommand property

bool get isScriptCommand

Check if this is a script command (has executable script)

Implementation

bool get isScriptCommand => script != null && script!.isNotEmpty;