flatMap

final Result<NewSuccess, FailureType> flatMap<NewSuccess extends Any>(Function1<SuccessType, Result<NewSuccess, FailureType>> onSuccess)