getUnitElementSignature method

Future<String> getUnitElementSignature(
  1. String path
)

Return a future that will complete with the signature for the file with the given absolute, normalized path, or null if the file cannot be analyzed. This is the same signature returned in the result from getUnitElement.

The signature is based on the APIs of the files of the library (including the file itself), and the transitive closure of files imported and exported by the library. If the signature of a file has not changed, then there have been no changes that would cause any files that depend on it to need to be re-analyzed.

Implementation

Future<String> getUnitElementSignature(String path);