ContentDispositionParameter class
A class representing a parameter for the Content-Disposition header.
Constructors
- ContentDispositionParameter({required String name, required String value, bool isExtended = false, LanguageTag? language})
-
Constructs a ContentDispositionParameter with the specified name, value,
and whether it uses extended encoding.
const
- ContentDispositionParameter.parse(String part)
-
Parses a parameter string and returns a ContentDispositionParameter
instance.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isExtended → bool
-
Whether the parameter uses the RFC 8187 extended form, such as
filename*, whose value always encodes as UTF-8.final - language → LanguageTag?
-
The language of an extended parameter, such as
en, if it has one.final - name → String
-
The name of the parameter (e.g.,
filename,name).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value of the parameter.
final
Methods
-
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