addFlagCsp method

void addFlagCsp({
  1. bool defaultsTo = false,
})

Implementation

void addFlagCsp({bool defaultsTo = false}) {
  addFlag(
    'csp',
    help:
        'Disable dynamic generation of code in the generated output. This is necessary to satisfy CSP restrictions (see http://www.w3.org/TR/CSP/).',
    defaultsTo: defaultsTo,
  );
}