identifierForMigration property
SimpleIdentifier?
identifierForMigration
TODO(scheglov) I was not able to update 'nnbd_migration' any better.
Implementation
SimpleIdentifier? get identifierForMigration {
final token = name;
if (token != null) {
final result = SimpleIdentifierImpl(token);
result.staticElement = declaredElement;
_becomeParentOf(result);
return result;
}
return null;
}