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);
  });
}