Part class
Binds a method parameter to a multipart form part.
- Annotations
-
- @Target.new({TargetKind.parameter})
Constructors
Properties
- contentType → String?
-
Optional MIME type for the part.
final
- fileName → String?
-
Optional file name when the part is a file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
Form field name. Defaults to the Dart parameter name when
null.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited