repo_id
stringlengths
21
168
file_path
stringlengths
36
210
content
stringlengths
1
9.98M
__index_level_0__
int64
0
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/getter_utils.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'package:draw/src/models/redditor.dart'; import 'package:draw/src/models/su...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/platform_utils_unsupported.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. class Platform { static bool get isAndroid => false; static bool get isFuc...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/util.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:math'; import 'package:draw/src/exceptions.dart...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/reddit.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:typed_data'; import 'package:draw/src/auth.dart...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/auth.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:typed_data'; import 'pac...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/draw_config_context.dart
/// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. // ignore: import_of_legacy_library_into_null_safe import 'package:ini/ini.dar...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/image_file_reader_unsupported.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. Future<Map> loadImage(Uri? imagePath) async => throw UnsupportedError('Loa...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/base.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. export 'base_impl.dart' hide setData;
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/api_paths.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. /// A [Map] containing all of the Reddit API paths. final Map apiPath = { 'about...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/config_file_reader.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. export 'config_file_reader_unsupported.dart' if (dart.library.io) 'config_...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/base_impl.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'package:draw/src/exceptions.d...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/platform_utils.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. export 'platform_utils_unsupported.dart' if (dart.library.io) 'platform_ut...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/platform_utils_io.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. import 'dart:io' as io; class Platform { static bool get isAndroid => io.Pl...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/config_file_reader_io.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. import 'dart:io'; import 'package:path/path.dart' as path; import 'exceptions....
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/user.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/exception_objector.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'package:draw/src/exceptions.dart'; const int kHttpBadRequest = 400; const...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/image_file_reader_io.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. import 'dart:io'; import 'package:draw/src/models/subreddit.dart'; import 'pac...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/image_file_reader.dart
/// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. export 'image_file_reader_unsupported.dart' if (dart.library.io) 'image_fi...
0
mirrored_repositories/DRAW/lib
mirrored_repositories/DRAW/lib/src/objector.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'package:draw/src/base.dart'; import 'package:draw/src/exceptions.dart'; im...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/flair.dart
import 'dart:convert'; import 'package:draw/src/exceptions.dart'; import 'package:draw/src/reddit.dart'; import 'package:draw/src/models/redditor.dart'; enum FlairPosition { left, right, disabled } String flairPositionToString(FlairPosition p) { switch (p) { case FlairPosition.left: return 'left'; ca...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/redditor.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/subreddits.dart
// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/trophy.dart
import 'package:draw/draw.dart'; import 'package:draw/src/base_impl.dart'; /// A Class representing an award or trophy class Trophy extends RedditBase with RedditBaseInitializedMixin { Trophy.parse(Reddit reddit, Map? data) : super(reddit) { setData(this, data); } /// The ID of the [Trophy] (Can be None). ...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/submission_impl.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:math'; import 'package:draw/src/api_paths.dart'...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/subreddit_moderation.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'package:draw/src/api_paths.da...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/comment_forest.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:collection'; import 'package:collection/collect...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/user_content.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'package:draw/src/base.dart'; import 'package:draw/src/reddit.dart'; /// A...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/subreddit.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:math'; import 'dart:typed...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/comment.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. export 'comment_impl.dart' hide setSubmissionInternal, setRepliesInternal;
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/message.dart
/// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. /// Please see the AUTHORS file for details. All rights reserved. /// Use of this source code is governed by a BSD-style license that /// can be found in the LICENSE file. import 'package:draw/src/base_impl.dart'; import 'package:draw/src/getter_util...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/comment_impl.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:collection'; import 'package:draw/src/api_paths...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/inbox.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:math'; import 'package:draw/src/api_paths.dart'...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/multireddit.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:collection/collection.dart' show IterableExt...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/submission.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. export 'submission_impl.dart' hide commentSortTypeToString, getCommentByIdInte...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/models/wikipage.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/saveable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/inboxable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/messageable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/inboxtoggleable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/editable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import '../../api_paths.dart'; import '../../base_impl.dart'...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/replyable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/gildable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/reportable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/voteable.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/user_content_moderation.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/api_paths.dart'; import 'package:dr...
0
mirrored_repositories/DRAW/lib/src/models
mirrored_repositories/DRAW/lib/src/models/mixins/user_content_mixin.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'package:draw/src/base_impl.dart'; mixin UserContentInitialized implements...
0
mirrored_repositories/DRAW/lib/src
mirrored_repositories/DRAW/lib/src/listing/listing_generator.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/reddit.dart'; /// An abstract stat...
0
mirrored_repositories/DRAW/lib/src/listing
mirrored_repositories/DRAW/lib/src/listing/mixins/rising.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import '../listing_generator.dart'; import '../../reddit.dar...
0
mirrored_repositories/DRAW/lib/src/listing
mirrored_repositories/DRAW/lib/src/listing/mixins/redditor.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import '../../models/user_content.dart'; import '../../reddi...
0
mirrored_repositories/DRAW/lib/src/listing
mirrored_repositories/DRAW/lib/src/listing/mixins/gilded.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/src/listing/listing_generator.dart'; im...
0
mirrored_repositories/DRAW/lib/src/listing
mirrored_repositories/DRAW/lib/src/listing/mixins/base.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import '../../exceptions.dart'; import '../../reddit.dart'; ...
0
mirrored_repositories/DRAW/lib/src/listing
mirrored_repositories/DRAW/lib/src/listing/mixins/subreddit.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import '../listing_generator.dart'; import '../../base.dart'...
0
mirrored_repositories/DRAW
mirrored_repositories/DRAW/test/test_authenticator.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'dart:typed_d...
0
mirrored_repositories/DRAW
mirrored_repositories/DRAW/test/test_utils.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'auth/credentials.da...
0
mirrored_repositories/DRAW
mirrored_repositories/DRAW/test/test_all.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'auth/run_live_auth_tests.dart' as live_auth_test; import 'comment/comment_...
0
mirrored_repositories/DRAW
mirrored_repositories/DRAW/test/test_config.dart
import 'package:test/test.dart'; import 'package:draw/src/draw_config_context.dart'; void main() { test('Simple tests for default section of local file.', () { final configContext = DRAWConfigContext(); expect(configContext.clientId, equals('Y4PJOclpDQy3xZ')); expect(configContext.clientSecret, equals('U...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/submission/submission_test.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/messageable_mixin/messageable_mixin_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test....
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/comment/comment_test.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'package:draw/draw.dart'; import 'p...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/multireddit/multireddit_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:color/color.dart'; import 'package:draw/draw....
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/user_content/user_content_test.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/frontpage/frontpage_test.dart
// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:test/test.dart'; import 'package:draw/draw.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/unit_tests/enum_stringify_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'package:test/test.dart'; import 'package:draw/src/listing/mixins/base.dart...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/unit_tests/test_draw_config_context.dart
import 'dart:io'; import 'package:mockito/mockito.dart'; import 'package:test/test.dart'; import 'package:draw/src/draw_config_context.dart'; //Mocking class MockPlatform extends Mock implements Platform {} /* //TODO(ckartik): Utilize mirrors lib here to get access to private methods. void _testUserConfigPathGetter()...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/unit_tests/utils_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'package:test/test.dart'; import 'package:draw/src/util.dart'; void main(...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/user/user_test.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:test/test.dart'; import 'package:draw/draw.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/user_content_moderation/user_content_moderation_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/inbox/inbox_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/redditor/redditor_test.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/auth/credentials.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:io'; final kApplicationClientID = Platform.environment['APP_CLIENT_I...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/auth/web_auth.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'package:dra...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/auth/read_only.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/auth/script_auth.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/auth/run_live_auth_tests.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'credentials.dart'; import 'read_only.dart' as read_only; import 'script_au...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/gilded_listing_mixin/gilded_listing_mixin_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:test/test.dart'; import 'package:draw/draw.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/subreddit/subreddit_test.dart
// Copyright (c) 2017, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'package:draw/draw.dart'; import 'p...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/subreddit/subreddits_test.dart
// Copyright (c) 2019, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:draw/src/mo...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/subreddit/subreddit_moderation_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; import 'package:test/test.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/subreddit/subreddit_listing_mixin_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:test/test.dart'; import 'package:draw/draw.d...
0
mirrored_repositories/DRAW/test
mirrored_repositories/DRAW/test/rising_listing_mixin/rising_listing_mixin_test.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:test/test.dart'; import 'package:draw/draw.d...
0
mirrored_repositories/DRAW/third_party/reply
mirrored_repositories/DRAW/third_party/reply/lib/reply.dart
/// Utilities for recording and replaying API interactions. /// /// Reply is a general use library that can: /// - Allow programmatic configuration (i.e. stubbing/mocking) /// - Serve as a more complex state machine /// - Reusable as a record/replay infrastructure for e2e testing library reply; import 'package:collect...
0
mirrored_repositories/DRAW/third_party/reply/lib
mirrored_repositories/DRAW/third_party/reply/lib/src/response_builder.dart
part of reply; class _DefaultResponseBuilder<Q, R> implements ResponseBuilder<Q, R> { final Recorder<Q, R> _recorder; final Q _request; _DefaultResponseBuilder(this._recorder, this._request); @override ConclusionBuilder<Q, R, Recorder<Q, R>> reply( R response, { void Function(Branch<Q, R> branch)? ...
0
mirrored_repositories/DRAW/third_party/reply/lib
mirrored_repositories/DRAW/third_party/reply/lib/src/recorder.dart
part of reply; class _DefaultRecorder<Q, R> implements Recorder<Q, R> { final Equality<Q> _requestEquality; final List<Record<Q, R>> _records = <Record<Q, R>>[]; _DefaultRecorder({Equality<Q>? requestEquality}) : _requestEquality = requestEquality ?? IdentityEquality(); @override void addRecord(Recor...
0
mirrored_repositories/DRAW/third_party/reply/lib
mirrored_repositories/DRAW/third_party/reply/lib/src/conclusion_builder.dart
part of reply; class _DefaultConclusionBuilder<Q, R, T extends Recorder<Q, R>> implements ConclusionBuilder<Q, R, T> { final T _recorder; final Q _request; final R _response; _DefaultConclusionBuilder( this._recorder, this._request, this._response, ); @override T always() { return _...
0
mirrored_repositories/DRAW/third_party/reply/lib
mirrored_repositories/DRAW/third_party/reply/lib/src/recording.dart
part of reply; class _DefaultRecording<Q, R> implements Recording<Q, R> { final List<Record<Q, R>> _records; final Equality<Q> _requestEquality; _DefaultRecording( Iterable<Record<Q, R>> records, { Equality<Q>? requestEquality, }) : _records = records.toList(), _requestEquality = requestEqual...
0
mirrored_repositories/DRAW/third_party/reply
mirrored_repositories/DRAW/third_party/reply/test/reply_test.dart
import 'dart:convert'; import 'package:collection/collection.dart'; import 'package:reply/reply.dart'; import 'package:test/test.dart'; void main() { group('Simple request/response', () { late Recorder<String, String> recorder; const notInfiniteButALot = 100; setUp(() => recorder = Recorder<String, Stri...
0
mirrored_repositories/DRAW
mirrored_repositories/DRAW/example/example.dart
// Copyright (c) 2018, the Dart Reddit API Wrapper project authors. // Please see the AUTHORS file for details. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. import 'dart:async'; import 'package:draw/draw.dart'; String? kClientId; String? ...
0
mirrored_repositories/uniMindeloApp
mirrored_repositories/uniMindeloApp/lib/main.dart
// @dart=2.9 import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_easyloading/flutter_easyloading.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:firebase_core/firebase_core.dart'; import 'package:get_storage/get_storage.dart'; import...
0
mirrored_repositories/uniMindeloApp/lib
mirrored_repositories/uniMindeloApp/lib/apis/fireBaseCalls.dart
import 'package:firebase_auth/firebase_auth.dart'; import 'package:flutter/material.dart'; import 'package:uni_mindelo/utils/constants/errors.dart'; import 'package:uni_mindelo/utils/services/dialogService.dart'; import 'package:uni_mindelo/utils/services/loaderService.dart'; import 'package:uni_mindelo/utils/services/...
0
mirrored_repositories/uniMindeloApp/lib/views
mirrored_repositories/uniMindeloApp/lib/views/classes/classes.dart
import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:flutter_week_view/flutter_week_view.dart'; import 'package:uni_mindelo/apis/fireBaseCalls.dart'; import 'package:uni_mindelo/utils/constants/colors.da...
0
mirrored_repositories/uniMindeloApp/lib/views
mirrored_repositories/uniMindeloApp/lib/views/grades/grades.dart
import 'package:flutter/material.dart'; import 'package:expansion_tile_card/expansion_tile_card.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:flutter_email_sender/flutter_email_sender.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:uni_mindelo/utils/constant...
0
mirrored_repositories/uniMindeloApp/lib/views/auth
mirrored_repositories/uniMindeloApp/lib/views/auth/forgotPassword/forgotPassword.dart
import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:uni_mindelo/Widgets/background.dart'; import 'package:uni_mindelo/apis/fireBaseCalls.dart'; import 'package:uni_mindelo/utils/constants/colors.dart'; import 'package:uni_mindelo/widgets/appBar.dart'; clas...
0
mirrored_repositories/uniMindeloApp/lib/views/auth
mirrored_repositories/uniMindeloApp/lib/views/auth/login/login.dart
import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:uni_mindelo/Widgets/background.dart'; import 'package:uni_mindelo/apis/fireBaseCalls.dart'; import 'package:uni_mindelo/utils/constants/colors.dart'; import 'package:uni_mindelo/utils/services/router.dart'...
0
mirrored_repositories/uniMindeloApp/lib/views
mirrored_repositories/uniMindeloApp/lib/views/home/home.dart
import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:sliding_up_panel/sliding_up_panel.dart'; import 'package:uni_mindelo/apis/fireBaseCalls.dart'; impo...
0
mirrored_repositories/uniMindeloApp/lib/views
mirrored_repositories/uniMindeloApp/lib/views/feed/feed.dart
import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:octo_image/octo_image.dart'; import 'package:uni_mindelo/apis/fireBaseCalls.dart'; import 'package:uni_mindelo/utils/constants/colors.dart'; import 'p...
0
mirrored_repositories/uniMindeloApp/lib/views
mirrored_repositories/uniMindeloApp/lib/views/cineMindelo/cineMindelo.dart
import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:octo_image/octo_image.dart'; // ignore: import_of_legacy_library_into_null_safe import 'package:ticketview/ticketview.dart'; import 'package:uni_minde...
0
mirrored_repositories/uniMindeloApp/lib/views
mirrored_repositories/uniMindeloApp/lib/views/payment/paymentsList.dart
import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:uni_mindelo/apis/fireBaseCalls.dart'; import 'package:uni_mindelo/utils/constants/colors.dart'; import 'package:uni_mindelo/utils/constants/paymentTit...
0
mirrored_repositories/uniMindeloApp/lib/views
mirrored_repositories/uniMindeloApp/lib/views/payment/payments.dart
import 'package:flutter/material.dart'; import 'package:flutter_credit_card/credit_card_form.dart'; import 'package:flutter_credit_card/credit_card_model.dart'; import 'package:flutter_credit_card/flutter_credit_card.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:uni_mindelo/utils/con...
0
mirrored_repositories/uniMindeloApp/lib
mirrored_repositories/uniMindeloApp/lib/widgets/background.dart
import 'package:flutter/material.dart'; // BACKGROUND class Background extends StatelessWidget { final Widget child; const Background({ required this.child, }); @override Widget build(BuildContext context) { Size size = MediaQuery.of(context).size; return Container( width: double.infini...
0
mirrored_repositories/uniMindeloApp/lib
mirrored_repositories/uniMindeloApp/lib/widgets/drawer.dart
import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_translate/flutter_translate.dart'; import 'package:uni_mindelo/utils/services/launchUrlService.dart'; import 'package:uni_mindelo/utils/services/router.dart'; import 'package:uni_mindelo/utils/services/storage.servi...
0