Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
코어님 처럼 파일을 여러개로 나눠서 코드를 작성해봤습니다.
(default : MovieListScreen.dart, MovieDetailScreen.dart)
-> apiKey요소 뿐만 아니라 TMDB의 img가 path로 지정되어 있기 때문에 posterWay를 넣어서 중복 입력을 최소화했습니다.
-> TMDB에서 가져올 정보들을 저장하고, fromJson을 구현했습니다.
-> 저번 api 예제를 복사하여 사용했습니다.
Important content
const라는게 코드를 도와주는줄만 알았는데 사용하려는 api 코드 형식을 const가 굉장히 많이 괴롭혀서 꼭 필요한 경우에는 그냥 안쓰려고 합니다..
Question
:)
Reference
챗 GPT를 참고했습니다.