# serviceTerms method Null safety

Future<UserServiceTerms> serviceTerms(

1. {String? extra}

)

사용자가 카카오 간편가입을 통해 동의한 서비스 약관 내역 반환

## Implementation

    Future<UserServiceTerms> serviceTerms({String? extra}) async {
      Map<String, dynamic> param = {Constants.extra: extra};
      param.removeWhere((k, v) => v == null);
      return ApiFactory.handleApiError(() async {
        Response response =
            await _dio.get(Constants.v1ServiceTermsPath, queryParameters: param);
        return UserServiceTerms.fromJson(response.data);
      });
    }