toEntityAll method Null safety

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

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

Implementation

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