LanguageRange constructor

const LanguageRange(
  1. String tag,
  2. double quality
)

Creates a range pairing a tag (already lower-cased by the parser) with its quality weight in 0.0..1.0. Audited: 2026-06-12 11:26 EDT

Implementation

const LanguageRange(this.tag, this.quality);