HttpFileService class
HttpFileService is the most common file service and the default for
WebHelper
. One can easily adapt it to use dio or any other http client.
- Inheritance
-
- Object
- FileService
- HttpFileService
Constructors
- HttpFileService({Client? httpClient})
Properties
- concurrentFetches ↔ int
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
String url, {Map< String, String> ? headers}) → Future<FileServiceResponse> -
override
-
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