getSpacesMembersList function

List<String> getSpacesMembersList(
  1. List<SpaceMemberDTO> members,
  2. List<SpaceMemberDTO> pendingMembers
)

Implementation

List<String> getSpacesMembersList(
    List<SpaceMemberDTO> members, List<SpaceMemberDTO> pendingMembers) {
  final allMembers = [...members, ...pendingMembers];
  return convertToWalletAddressListV2(allMembers);
}