menu
sunny_dart package
documentation
extensions/future_extensions.dart
FutureOrNullableExts<T>
thenCast<R> method
thenCast<R> method
dark_mode
light_mode
thenCast<
R
>
method
FutureOr
<
R?
>
thenCast
<
R
>(
)
Implementation
FutureOr<R?> thenCast<R>() => thenOr((self) => self as R?);
sunny_dart package
documentation
extensions/future_extensions
FutureOrNullableExts<T>
thenCast<R> method
FutureOrNullableExts extension on
FutureOr
<
T?
>