pluck method

List pluck(
  1. String? key
)

The pluck method retrieves all of the values for a given key

Example:

list.pluck("id")

// [{"id":1,"age":23},{"id":2,"name":"thor"}]
// [1,2]

Implementation

List<dynamic> pluck(String? key) => FxList.pluck(this, key);