Issue
I am trying to check condition
if (value in List) {
exist
} else {
not exist
}
but nothing to help anyone having an idea then please share.
My List = _quantityController[];
itemId is integer
i want to check my item id exists in my list array or not...Thanks!
Solution
list.contains(x);
Answered By - Zroq
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.