DownloadResult class

Resultado do download de dados

Constructors

DownloadResult.new({required bool success, required String message, int itemsDownloaded = 0, Map<String, dynamic>? metadata})
const
DownloadResult.failure(String message)
factory
DownloadResult.success({required String message, int itemsDownloaded = 0, Map<String, dynamic>? metadata})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
itemsDownloaded int
final
message String
final
metadata Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
final

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