SyncSuccessCallback<S, T> typedef

SyncSuccessCallback<S, T> = T Function(S value)

Callback type for synchronous success operations in Result.fold

S is the success value type T is the return type of the callback

Implementation

typedef SyncSuccessCallback<S, T> = T Function(S value);