sourceFile property

File sourceFile

Returns a File instance for the current stackframe

Implementation

File get sourceFile => frames[0].sourceFile;