scopes method

Future<ScopeInfo> scopes({
  1. List<String>? scopes,
})

KO: 동의 내역 확인하기
EN: Retrieve consent details

Implementation

Future<ScopeInfo> scopes({List<String>? scopes}) {
  return ApiFactory.handleApiError(() async {
    Response response = await _dio.get(Constants.v2ScopesPath,
        queryParameters: {Constants.scopes: jsonEncode(scopes)});
    return ScopeInfo.fromJson(response.data);
  });
}