fromResponse static method

ClientsEntity fromResponse({
  1. required ClientsResponse response,
})

Implementation

static ClientsEntity fromResponse({
  required ClientsResponse response,
}) =>
    ClientsEntity(
      users: response.users
          .map(
            (ClientUserResponse clientUserResponse) =>
                ClientUserMapper.fromResponse(
              response: clientUserResponse,
            ),
          )
          .toList(),
    );