loading...
Cover image for Keywords in Dart

Keywords in Dart

jay_tillu profile image Jay Tillu😎 ・2 min read

Knowledge of keywords is also important. As we cannot use it as Identifiers (Although in some cases we can. But let’s follow the best practices).

Keywords have a special meaning in the language.

Reserved Words

  • Following are the reserved words in a dart. These reserved words cannot be used as identifiers.

Contextual Keywords

  • These keywords have meaning only in specific places. In other places, they are valid identifiers.

Built-in Identifiers

  • These keywords are valid identifiers in most places, but they can’t be used as class or type names, or as import prefixes.

  • await and yield are newer words added after Dart’s 1.0 release. And cannot be used as an identifier in any function body marked with async, async*, or sync*.

These all are keywords of a dart. That you need to know as a developer. Don’t use any one of these as an identifier (Although you can. Just take it as my personal tip☺️)

Feel free to let me know if I miss something. And I’ll surely catch you up in next article.

Till Then Keep Coding, Keep Loving.

Remember no teacher, no book, no video tutorial, or no blog can teach you everything. As one said Learning is Journey and Journey never ends. Just collect some data from here and there, read it, learn it, practice it, and try to apply it. Don’t feel hesitate that you can’t do that or you don’t know this concept or that concept. Remember every programmer was passed from the path on which you are walking right now. Remember Every Master was Once a Beginner. Work hard and Give your best.

For More Information Please Visit Following Links

Wanna get in touch with me? Here are links. I’ll love to become your friend. 😊
Twitter
Facebook
Instagram
Medium
or just mail me at jayviveki13@gmail.com

Posted on by:

jay_tillu profile

Jay Tillu😎

@jay_tillu

🌏 विधायास्य धमॅस्य संरक्षणम् 🌍 ☀️ Society before Self ☀️ 🙏🏻 Humanism by Religion 🙏🏻 💻 Work for Mankind 💻 🌐 Believes in वसुधैव कुटुम्बकम् 🌐

Discussion

pic
Editor guide