FileData class

This class is used to pass files in formData body

Constructors

FileData({required List<int> bytes, String? name})
Used to pass files in formData body for API calls

Properties

bytes List<int>
The file bytes for form data body
final
hashCode int
The hash code for this object.
no setterinherited
name String?
The file name for form data body
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