getCommunityData method
Implementation
Future<dynamic> getCommunityData(
String communityAddress, {
String? walletAddress,
}) async {
String path = walletAddress != null
? '/v1/communities/$communityAddress/$walletAddress'
: '/v1/communities/$communityAddress';
Response response = await _dio.get(
path,
);
return response.data['data'];
}