Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

tyoe casting in dart

void main() {
  var a = 10; // An integer.
  var b = "20"; // A string.
  var c = int.parse(b);
  print(a + c);
}
 
PREVIOUS NEXT
Tagged: #tyoe #casting #dart
ADD COMMENT
Topic
Name
4+7 =