Most of the times here is the error message displayed for content assist while accessing class members.
By following the recommended solution in the error message, here is how it is been solved.