OpenFile class Null safety

A File 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.
read-onlyinherited
id int
The unique ID associated with this file.
final
json Map<String, dynamic>?
read / writeinherited
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.
read-onlyinherited
type String
read-onlyoverride
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 non-existent 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