inviteUserToGroup method Null safety

Future<V2TimValueCallback<List<V2TimGroupMemberOperationResult>>> inviteUserToGroup(
  1. {required String groupID,
  2. required List<String> userList}
)

Invite users to a group

Note:

Work: Anyone in the group can invite others to join the group. 
Meeting group (Meeting) and public group (Public): You can invite other people into the group only by using the app administrator status through the rest api. 
Live group (AVChatRoom): This function is not supported. 

Implementation

Future<V2TimValueCallback<List<V2TimGroupMemberOperationResult>>>
    inviteUserToGroup({
  required String groupID,
  required List<String> userList,
}) async {
  return ImFlutterPlatform.instance
      .inviteUserToGroup(groupID: groupID, userList: userList);
}