build method

String build()

Builds the CSP header value.

Implementation

String build() {
  return _directives.entries
      .map((e) => '${e.key} ${e.value.join(' ')}')
      .join('; ');
}