I have a list with the below values:
List<Map<String, dynamic>> arrayTest = [{'id':'1','name':'test1'},{'id':'2','name':'test2'},{'id':'3','name':'test3'},{'id':'4','name':'test5'}];
I want to get all id values from the arrayTest variable into another List<dynamic> type list.
I'm new to flutter, I've tried the .map() function but not getting any idea how to do this.