Answers for "string to to int dart"

25

Flutter turn string to int

// String -> int
main () {
    var one = int.parse('1');
    print(one == 1); // prints true
}
Posted by: Guest on April-20-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language