parse static method

HeaderProfile parse(
  1. String? v
)

Parses the wire value; unknown values fall back to agents.

Implementation

static HeaderProfile parse(String? v) => v == 'business' ? business : agents;