addMembers method Null safety

Future<NIMResult<List<String>>> addMembers(
  1. String teamId,
  2. List<String> accountList,
  3. String msg
)

Invite other users to join the group. teamId The group ID accountList The IM accounts (accid) of the users to be added to the group. msg The remark (maximum length: 5,000)

Implementation

Future<NIMResult<List<String>>> addMembers(
    String teamId, List<String> accountList, String msg) async {
  return _platform.addMembers(teamId, accountList, msg);
}