getUserProfile method

Future<Map<String, dynamic>> getUserProfile(
  1. String walletAddress
)

Implementation

Future<Map<String, dynamic>> getUserProfile(
  String walletAddress,
) async {
  String url = '/v1/wallets/profiles/$walletAddress';
  Response response = await _dio.get(
    url,
    options: options,
  );

  return response.data['data'];
}