declineInvitation method

Future<void> declineInvitation ({@required String username, @required String reason, String appKey })

Implementation

Future<void> declineInvitation({
  @required String username,
  @required String reason,
  String appKey,
}) async {
  await _channel.invokeMethod('declineInvitation',
    {
      'username': username,
      'reason': reason,
      'appKey': appKey,
    }..removeWhere((key,value) => value == null));

  return;
}