Dart의 main


void main() {
    print("hello world");
}

dart는 자동적으로 main함수를 찾는다. JavaScript와 다르게 세미콜론을 찍지 않으면 오류가 발생한다.