menu
dart_extensions package
documentation
dart_extensions.dart
CollectionsExtensions<T>
firstHalf method
firstHalf method
dark_mode
light_mode
firstHalf
method
List
<
T
>
firstHalf
(
)
Implementation
List<T> firstHalf() => take(halfLength).toList();
dart_extensions package
documentation
dart_extensions
CollectionsExtensions<T>
firstHalf method
CollectionsExtensions extension on
Iterable
<
T
>