FileHandle class

Inheritance

Constructors

FileHandle(String _path, {AbstractFileOpenMode openMode = AbstractFileOpenMode.read})
FileHandle.from(RandomAccessFile fp)
FileHandle.fromFile(File fp, {AbstractFileOpenMode openMode = AbstractFileOpenMode.read})

Properties

hashCode int
The hash code for this object.
no setterinherited
isOpen bool
no setteroverride
length int
no setteroverride
openMode AbstractFileOpenMode
getter/setter pairinherited
path String
no setter
position int
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
override
closeSync() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readInto(Uint8List buffer, [int? end]) int
override
toString() String
A string representation of this object.
inherited
writeFromSync(List<int> buffer, [int start = 0, int? end]) → void
override

Operators

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