invite method

Future invite(
  1. String phoneNumber, {
  2. String communityAddress = '',
  3. String name = '',
  4. String amount = '',
  5. String symbol = '',
})

Implementation

Future<dynamic> invite(
  String phoneNumber, {
  String communityAddress = '',
  String name = '',
  String amount = '',
  String symbol = '',
}) async {
  Response response = await _dio.post(
    '/v1/wallets/invite/$phoneNumber',
    data: {
      'communityAddress': communityAddress,
      'name': name,
      'amount': amount,
      'symbol': symbol,
    },
    options: options,
  );
  return response.data;
}