isDirectiveValueInvalid method
Validates the given string to be a valid CSP directive.
Implementation
bool isDirectiveValueInvalid() {
return contains(RegExp(';|,'));
}
Validates the given string to be a valid CSP directive.
bool isDirectiveValueInvalid() {
return contains(RegExp(';|,'));
}