FileInfo class

Constructors

FileInfo.new({required String path, required int size, required bool isFile})

Properties

hashCode int
The hash code for this object.
no setterinherited
isFile bool
getter/setter pair
path String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pair

Methods

gb() double
getSize() double
This automatically picks TB, GB, MB, KB, or bytes depending on which returns larger than 0.5
kb() double
mb() double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tb() double
toString() String
A string representation of this object.
override

Operators

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