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);