path property

String get path

The full path to the file in which the code is located.

Implementation

String get path => Uri.parse(uri.toString()).path;