Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart getter

// getter: 		return_type get field_name {  }
String get emp_name { 
   return empName; 
} 
// setter:  	set field_name {  }
void set emp_name(String name) { 
   this.empName = name; 
} 
 
PREVIOUS NEXT
Tagged: #dart #getter
ADD COMMENT
Topic
Name
9+8 =