PFile class abstract
A cross-platform representation of a file, provides some ability to read/cache the data internally in a mutable way, so it can be passed around while it's loading
- Implementers
- Available extensions
Constructors
- PFile.new()
-
const
Properties
-
awaitData
→ Future<
Uint8List> -
Available on PFile, provided by the PlatformFileWriteExt extension
no setter - bytes → Uint8List?
-
Try not to use this
no setter
- extension → String?
-
File extension for this file.
no setter
- extension → String?
-
Available on PFile, provided by the PlatformFileWriteExt extension
no setter - file → dynamic
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
File name including its extension.
no setter
- path → String?
-
The absolute path for a cached copy of this file. It can be used to create a
file instance with a descriptor for the given path.
no setter
-
read
→ Future<
PFile> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openStream(
[int start, int end]) → Stream< List< int> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultChunkSize ↔ int
-
getter/setter pair
- loaders ↔ PFileLoader
-
getter/setter pair