openMessengerApp method

Future<void> openMessengerApp({
  1. required MessengerType type,
  2. required String arg,
})

Implementation

Future<void> openMessengerApp({
  required MessengerType type,
  required String arg,
}) async {
  final args = <String, String?>{
    'type': type.toText(),
    'args': arg,
  };

  await _getAppsChannel.invokeMethod('openMessenger', args);
}