xFilePath property

String xFilePath

Gets the path of a file, if the file is XFile.

Implementation

String get xFilePath {
  if (content is XFile) {
    return (content as XFile).path;
  }
  return '';
}