sharetoapp method

Future<String> sharetoapp (
  1. String app,
  2. String msg
)

Implementation

Future<String> sharetoapp(String app, String msg) async{
  final Map<String, Object> arguments = Map<String, dynamic>();
  arguments.putIfAbsent('msg', () => msg);
  arguments.putIfAbsent('app', () => app);
  dynamic result;
  try {
    result = await _channel.invokeMethod('sharetoapp', arguments);
  } catch (e) {
    return e.toString();
  }
  return result;
}