menu
dart_utility package
documentation
iterable.dart
ListExtension<T>
compact method
compact method
dark_mode
light_mode
compact
method
List
<
T?
>
?
compact
(
)
Implementation
List<T?>? compact() { removeWhere((element) => isFalsey(element)); return this; }
dart_utility package
documentation
iterable
ListExtension<T>
compact method
ListExtension extension on
List
<
T?
>