NoFilesError class

An attempt was made to get a random file from an empty directory.

Inheritance

Constructors

NoFilesError(Directory directory)
Create the error.
const

Properties

directory Directory
The directory which was accessed.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Return a string explaining this error.
override

Operators

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