String toString()

Returns a string representation of this object.

Source

String toString() => const ['FILE', 'DIRECTORY', 'LINK', 'NOT_FOUND'][_type];