Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
myConsciousness committed Jan 12, 2022
1 parent 87a72b0 commit da6e29b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lib/src/adapter/forum_comments_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// BSD-style license that can be found in the LICENSE file.

// Package imports:
import 'package:duolingo4d/src/response/forum/comments/forum_comments_response.dart';
import 'package:http/http.dart';
import 'package:json_response/json_response.dart';

// Project imports:
import 'package:duolingo4d/src/adapter/adapter.dart';
import 'package:duolingo4d/src/response/forum/comment.dart';
import 'package:duolingo4d/src/response/forum/comment/forum_comment_response.dart';
import 'package:duolingo4d/src/response/forum/comments/forum_comments_response.dart';
import 'package:duolingo4d/src/response/forum/user.dart';

class ForumCommentsAdapter extends Adapter<ForumCommentsResponse> {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/adapter/search_forum_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
// BSD-style license that can be found in the LICENSE file.

// Package imports:
import 'package:duolingo4d/src/response/searchforum/search_forum_response.dart';
import 'package:http/http.dart';
import 'package:json_response/json_response.dart';

// Project imports:
import 'package:duolingo4d/src/adapter/adapter.dart';
import 'package:duolingo4d/src/response/searchforum/search_forum_response.dart';

class SearchForumAdapter extends Adapter<SearchForumResponse> {
/// Returns the new instance of [SearchForumAdapter].
Expand Down
2 changes: 1 addition & 1 deletion lib/src/duolingo_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

// Package imports:
import 'package:cache_storage/cache_storage.dart';
import 'package:duolingo4d/src/const/forum_comments_sort_pattern.dart';

// Project imports:
import 'package:duolingo4d/src/const/forum_comments_sort_pattern.dart';
import 'package:duolingo4d/src/const/illustration_format.dart';
import 'package:duolingo4d/src/duolingo.dart';
import 'package:duolingo4d/src/duolingo_session.dart';
Expand Down
6 changes: 3 additions & 3 deletions lib/src/request/forum_comments_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
// BSD-style license that can be found in the LICENSE file.

// Package imports:
import 'package:duolingo4d/src/adapter/forum_comments_adapter.dart';
import 'package:duolingo4d/src/const/forum_comments_sort_pattern.dart';
import 'package:duolingo4d/src/response/forum/comments/forum_comments_response.dart';
import 'package:http/http.dart' as http;

// Project imports:
import 'package:duolingo4d/src/adapter/forum_comments_adapter.dart';
import 'package:duolingo4d/src/const/forum_comments_sort_pattern.dart';
import 'package:duolingo4d/src/endpoint.dart';
import 'package:duolingo4d/src/request/internal_session.dart';
import 'package:duolingo4d/src/request/request.dart';
import 'package:duolingo4d/src/resource.dart';
import 'package:duolingo4d/src/response/forum/comments/forum_comments_response.dart';

class ForumCommentsRequest extends Request<ForumCommentsResponse> {
/// Returns the new instance of [ForumCommentsRequest] based on an argument.
Expand Down
4 changes: 2 additions & 2 deletions lib/src/request/search_forum_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
// BSD-style license that can be found in the LICENSE file.

// Package imports:
import 'package:duolingo4d/src/adapter/search_forum_adapter.dart';
import 'package:duolingo4d/src/response/searchforum/search_forum_response.dart';
import 'package:http/http.dart' as http;

// Project imports:
import 'package:duolingo4d/src/adapter/search_forum_adapter.dart';
import 'package:duolingo4d/src/endpoint.dart';
import 'package:duolingo4d/src/request/internal_session.dart';
import 'package:duolingo4d/src/request/request.dart';
import 'package:duolingo4d/src/resource.dart';
import 'package:duolingo4d/src/response/searchforum/search_forum_response.dart';

class SearchForumRequest extends Request<SearchForumResponse> {
/// Returns the new instance of [SearchForumRequest] based on an argument.
Expand Down
3 changes: 1 addition & 2 deletions lib/src/response/forum/comment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
// Package imports:
import 'package:collection/collection.dart';

import 'package:duolingo4d/src/response/forum/comment/forum_comment_response.dart';

// Project imports:
import 'package:duolingo4d/src/response/forum/comment/forum_comment_response.dart';
import 'package:duolingo4d/src/response/forum/user.dart';

class Comment {
Expand Down
3 changes: 2 additions & 1 deletion lib/src/response/forum/comments/forum_comments_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// Project imports:
// Package imports:
import 'package:collection/collection.dart';

// Project imports:
import 'package:duolingo4d/src/response/forum/comment.dart';
import 'package:duolingo4d/src/response/response.dart';
import 'package:duolingo4d/src/response/status.dart';
Expand Down
3 changes: 2 additions & 1 deletion lib/src/response/searchforum/search_forum_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// Project imports:
// Package imports:
import 'package:collection/collection.dart';

// Project imports:
import 'package:duolingo4d/src/response/response.dart';
import 'package:duolingo4d/src/response/searchforum/searched_forum.dart';
import 'package:duolingo4d/src/response/status.dart';
Expand Down

0 comments on commit da6e29b

Please sign in to comment.