Cast this into a Failure, and throw an exception if the cast fails!
It might be tempting to just cast the result into the desired type, but it's strongly advised to not do that. Although, it might be convenient to have
this cast sometimes. Use it wisely!
Cast this into a Success, and throw an exception if the cast fails!
It might be tempting to just cast the result into the desired type, but it's strongly advised to not do that. Although, it might be convenient to have
this cast sometimes. Use it wisely!
A method to chain asynchronous access to data held by the Result. If this is Failure returns [FutureOr<Failure>], if this is Success, returns the result of the combiner method over the data inside Success
A method used to chain access to data held by the Result. If this is Failure returns Failure, if this is Success, returns the result of the combiner method over the data inside Success