onRight method
Implementation
Either<L,R> onRight(void Function(R r) block){
var result = toNullable();
if(result != null){
block(result);
}
return this;
}
Either<L,R> onRight(void Function(R r) block){
var result = toNullable();
if(result != null){
block(result);
}
return this;
}