getFlagCsp method
Gets the CSP flag value formatted for command-line usage.
Returns:
'--csp'if the flag is set to true- Empty string if the flag is set to false or not provided
Example:
final cspFlag = argResults.getFlagCsp();
// Returns '--csp' or ''
Implementation
String getFlagCsp() => this?['csp'] ?? false ? '--csp' : '';