Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

underscore dart

Unlike Java, Dart doesn’t have the keywords public, protected, and private.
If an identifier starts with an underscore (_), it’s private to its library. 

Underscore fields, classes and methods will only be available in the .dart file where they are defined.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #underscore #dart
ADD COMMENT
Topic
Name
9+1 =