revokeServiceTerms method
특정 서비스 약관에 대한 동의를 철회하고, 동의 철회가 반영된 서비스 약관 목록 반환
Implementation
Future<UserRevokedServiceTerms> revokeServiceTerms(
{required List<String> tags}) async {
Map<String, dynamic> param = {Constants.tags: tags.join(',')};
return ApiFactory.handleApiError(() async {
Response response = await _dio.post(Constants.v2RevokeServiceTermsPath,
queryParameters: param);
return UserRevokedServiceTerms.fromJson(response.data);
});
}