fromResponse static method
- required VendorsResponse response,
Implementation
static List<VendorEntity> fromResponse({
required VendorsResponse response,
}) =>
response.vendors
?.map(
(VendorResponse vendorResponse) => VendorMapper.fromResponse(
response: vendorResponse,
),
)
.toList() ??
<VendorEntity>[];