scopes method
- {List<
String> ? scopes}
사용자 동의 항목의 상세 정보 목록 반환
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);
});
}