scopes method
Returns a list of details of a user's consent item.
Implementation
Future<ScopeInfo> scopes({List<String>? scopes}) {
return ApiFactory.handleApiError(() async {
Response response = await _dio.get('/v2/user/scopes',
queryParameters: {'scopes': jsonEncode(scopes)});
return ScopeInfo.fromJson(response.data);
});
}