Skip to content

Commit 9db5e50

Browse files
committed
Use a real import, no a doc-import.
Language version is only 3.4, docImport is 3.8.
1 parent f2bcde8 commit 9db5e50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/collection/lib/src/list_extensions.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
// Extension methods on common collection types.
6+
67
import 'dart:collection';
78
import 'dart:math';
89

910
import 'algorithms.dart';
1011
import 'algorithms.dart' as algorithms;
1112
import 'equality.dart';
13+
// For documentation only. Use docImport when reaching language version 3.8.
14+
import 'iterable_extensions.dart';
1215
import 'utils.dart';
1316

1417
/// Various extensions on lists of arbitrary elements.
@@ -372,7 +375,6 @@ extension ListExtensions<E> on List<E> {
372375
/// after: true,
373376
/// )); // []
374377
/// ```
375-
/// @docImport 'iterable_extensions.dart';
376378
List<E> separated(E separator, {bool before = false, bool after = false}) =>
377379
_SeparatedList<E>(this, separator, before, after);
378380

0 commit comments

Comments
 (0)