I have a question in my flutter dart script, this my script:
List replytile = new List();
replytile.add(
new ReplyTile(
In your case this works:
replytile.removeWhere((item) => item.id == '001');
For list with specific datatype such as int, remove also works.Eg:
List id = [1,2,3];
id.remove(1);
This also works
_listofTaskUI.removeAt(_quantity);
removeWhere
allows to do that:
replytile.removeWhere((item) => item.id == '001')
See also List Dartdoc