LoaderItem class IO
An individual item being tracked by the Loader.
Constructors
- LoaderItem(String source)
-
Creates a LoaderItem with the given
source
.
Properties
- completedOrFailed ↔ bool
-
A flag indicating whether the loading of this item has
completed (successfully or with an error).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- loaded ↔ int
-
The number of bytes currently loaded for this item.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ String
-
The source identifier for this loading item, typically a path or URL.
getter/setter pair
- total ↔ int
-
The total number of bytes expected for this item.
May be 0 if the total size is not yet known.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited