File class
Provides data related to file.
Properties
Methods
-
ext(
{FileType? fileType}) → String - Returns a random file extension.
-
mimeType(
{MimeType? type}) → String - Returns a random mime type.
-
name(
{FileType? fileType}) → String - Returns a random file name with some extension.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
size(
{int min = 1, int max = 100}) → String - Returns size of a file.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited