LanguageQuality class
A class representing a language with an optional quality value.
Constructors
- LanguageQuality(String language, [double? quality])
-
Constructs an instance of LanguageQuality.
const
- LanguageQuality.parse(String value)
-
Parses a string value and returns a LanguageQuality instance.
factory
Properties
Methods
-
encode(
) → String - Encodes this LanguageQuality into a string representation suitable for HTTP headers.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override