In this tutorial you will learn about the Dart Keywords and its application with practical example.
There is a set of reserved words that you cannot use as an identifier. These words are known as “reserved words” or “Keywords”. Keywords are standard identifiers and their functions is predefined by the compiler. We cannot use keywords as variable names, class names, or method names, or as any other identifier.
Below is list of available keywords in Dart programming Language –
|assert||deferred 1||finally||operator 1||true|
|async 2||do||for||part 1||try|
|async* 2||dynamic 1||get 1||rethrow||typedef 1|
|break||enum||implements 1||set 1||void|
|case||export 1||import 1||static 1||while|
|const||factory 1||library 1||sync* 2||yield* 2|