TransferResult class

The outcome of a completed transfer.

Constructors

TransferResult({required List<String> verified, required Map<String, String> failures})
Creates a transfer result.
const

Properties

failures Map<String, String>
Files that failed (hash mismatch or I/O error), path → reason.
final
hashCode int
The hash code for this object.
no setterinherited
ok bool
Whether every entry transferred and verified.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verified List<String>
Files whose content hash verified successfully.
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