toEntityAll method

List<Entity> toEntityAll(
  1. List<Domain> domains
)

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

Implementation

List<Entity> toEntityAll(List<Domain> domains) =>
    domains.map((domain) => this.toEntity(domain)).toList();