FetchPoolResult class Null safety

Result of fetching a single URL

Constructors

FetchPoolResult({required String url, String? localPath, FetchPoolFilePersistenceResult? persistenceResult, Object? error})
Create a new instance

Properties

error Object?
Error in case of failure
final
hashCode int
The hash code for this object.
read-onlyinherited
isSuccess bool
Indicates whether fetching was successful
read-only
localPath String?
Local path the URL was downloaded to
final
persistenceResult FetchPoolFilePersistenceResult?
Local persistence result Was the file simply saved, overwritten, or skipped?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
url String
URL that was (attempted to be) fetched
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited