menu
flechette package
documentation
syntax/optional.dart
Optional<T>
toList method
toList method
dark_mode
light_mode
toList
method
List
<
T
>
toList
(
)
convert optional value into list of length 0 or 1.
Implementation
List<T> toList() => this == null ? [] : [this!];
flechette package
documentation
syntax/optional
Optional<T>
toList method
Optional extension on T?