isFile property

bool get isFile

Implementation

bool get isFile => path.startsWith('/') || path.startsWith('.');