objectsToList<T extends Object> abstract method

List<T> objectsToList<T extends Object>(
  1. T map(
    1. DataObject object
    ), {
  2. int? limit,
})

Returns a list of T mapped from child data objects using map function.

An optional limit when provided limits the number of returned objects.

The returned list is immutable.

Other child objects (that cannot be represented as a data objects) are omitted from an iterable.

Implementation

List<T> objectsToList<T extends Object>(
  T Function(DataObject object) map, {
  int? limit,
});