OpenFile class

Contains information about reads and writes to a currently opened file.

Inheritance
Implemented types

Constructors

OpenFile({required int id, required String name, required int readBytes, required int writeBytes, required int readCount, required int writeCount, required DateTime lastReadTime, required DateTime lastWriteTime})

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → int
The unique ID associated with this file.
final
json ↔ Map<String, dynamic>?
getter/setter pairinherited
lastReadTime → DateTime
The time at which this file was last read by this process.
final
lastWriteTime → DateTime
The time at which this file was last written to by this process.
final
name → String
The path of the file.
final
readBytes → int
The total number of bytes read from this file.
final
readCount → int
The number of reads made from this file.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
no setteroverride
writeBytes → int
The total number of bytes written to this file.
final
writeCount → int
The number of writes made to this file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

parse(Map<String, dynamic>? json) → OpenFile?
override