Check out example codes for "get whatsapp group id flutter". It will help you in understanding the concepts better.

Code Example 1

Intent intentWhatsapp = new Intent(Intent.ACTION_VIEW);
String url = "https://chat.whatsapp.com/<group_link>";
intentWhatsapp.setData(Uri.parse(url));
intentWhatsapp.setPackage("com.whatsapp");
startActivity(intentWhatsapp);

Learn ReactJs, React Native from akashmittal.com