fileName property

String get fileName

Retrieves the file name from the stack trace.

Returns the file name as a string.

Implementation

String get fileName {
  return fileInfo[0];
}