toDomainAll method

List<Domain> toDomainAll(
  1. List<Entity> entities
)

Convert a list of entities into a list of domain. By default converting one by one into a new list using the single toDomain(entity) converter.

Implementation

List<Domain> toDomainAll(List<Entity> entities) =>
    entities.map((entity) => this.toDomain(entity)).toList();