collect static method

List<Sample<Payload?>> collect(
  1. List list
)

factory for a list of samples, given as maps or JSON strings.

Implementation

static List<Sample> collect(List<dynamic> list) =>
    parseObjects(list, factory);