menu
bones_api package
documentation
bones_api.dart
FutureOrAPIResponseExtension<T>
payloadAsyncOr method
payloadAsyncOr method
dark_mode
light_mode
payloadAsyncOr
method
FutureOr
<
T?
>
payloadAsyncOr
(
T?
def
)
Implementation
FutureOr<T?> payloadAsyncOr(T? def) => then((r) => r.payload ?? def);
bones_api package
documentation
bones_api
FutureOrAPIResponseExtension<T>
payloadAsyncOr method
FutureOrAPIResponseExtension extension on
FutureOr
<
APIResponse
<
T
>
>