openWhatsApp method

Future<String?> openWhatsApp({
  1. String? phoneNumber,
  2. String? text,
})

打开指定的app

Implementation

Future<String?> openWhatsApp({
  String? phoneNumber,
  String? text,
}) {
  return FlutterPluginOpenwhatsappPlatform.instance.openWhatsApp(
    phoneNumber: phoneNumber,
    text: text,
  );
}