describe method

Future<String> describe()

Returns a short description for debug logs.

Implementation

Future<String> describe() async {
  if (_filePath != null) {
    return _describeFile(_filePath!);
  }
  final documentPath = await _getDocumentPath();
  if (documentPath != null && documentPath.isNotEmpty) {
    return _describeFile(documentPath);
  }
  return 'document(${identityHashCode(_document)}, cacheVersion=${cacheVersion ?? 0})';
}