collect static method

List<DataPointEntry> collect(
  1. List list
)

Implementation

static List<DataPointEntry> collect(List<dynamic> list) {
  final entries = <DataPointEntry>[];
  for (final Map<String, dynamic> map in list) {
    final entry = DataPointEntry.from(map);
    entries.add(entry);
  }
  return entries;
}