inblog logo
|
sxias
    트러블슈팅

    [트러블슈팅] 14. Dart 내 as Int, toInt() 차이

    문정준's avatar
    문정준
    May 26, 2025
    [트러블슈팅] 14. Dart 내 as Int, toInt() 차이
    • 두 코드 간의 차이점?
    int len = "ssar".length / 2 as int; int len2 = ("ssar".length / 2).toInt(); print(len); print(len2);
     

    Solution

    notion image
    Share article

    Sxias ㆍ a32176740@gmail.com

    RSS·Powered by Inblog