flutter에서 http통신을 통한 rest api 사용은 까다롭기 그지없다. 조금이라도 간단하게 진행하기 위해 상태관리 라이브러리인 Getx에서 Getconnect를 사용한다.
사용 예로 특정 버스정류장에서 특정 노선이 도착하는 정보를 가져오는 api를 사용한다. https://github.com/jonataslaw/getx/blob/master/README.ko-kr.md getx/README.ko-kr.md at master · jonataslaw/getx Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get. - getx/README.ko-kr.md at master · jonataslaw/getx github.com https://www.data.go.kr/data/15000314/openapi.do 서울특별시_버스도착정보...