signatureFromType method Null safety
- Type type
Creates a default signature from the type. This should be used carefully, since changing the name of the supportedType class in a refactoring can lead to stored files becoming incompatible.
Implementation
String signatureFromType(Type type) {
var sig = type.toString();
return signatureFromString(sig);
}