null safety
런타임 시점에 null이 들어오게 되어 발생하는 에러를 방지하고자 함. 이전과 다르게 모든 자료형은 nullable(?)이 붙지 않는 이상 non-nullable로 취급됨. dart의 타입 시스템이 바뀌었음 https://dart.dev/null-safety/understanding-null-safety Understanding null safety A deep dive into Dart language and library changes related to null safety. dart.dev 좌측이 null safety가 적용되기 전의 타입 시스템이라면 null safety가 적용되고난 후에는 우측처럼 되었다. Null이 별도의 타입 처리된 것이다. 더 나아가 String? 꼴과 같이 nullabl..