본문 바로가기
개발/Flutter

flutter model에서 원하는 argument만 뽑아서 처리하기

by dev_caleb 2022. 6. 26.
728x90
visible: Get.find<ManagerController>().sharingMatjips.map((element) => element.matjipid).contains(matjipmodel.matjipid),

indexof 로 해도 되긴하지만 tomap을 쓰면 좀 더 편하고 직관적이고 뭔가 다양한 것을 할 수 있다.

728x90

'개발 > Flutter' 카테고리의 다른 글

index scroll library  (0) 2022.07.05
Getx refresh()  (0) 2022.07.01
getX 반응형상태관리 initialize  (0) 2022.06.25
firebase remote config를 통한 공지 보여주기 프로세스  (0) 2022.06.20
iOS account deletion issue  (0) 2022.06.17