toNullable method
R?
toNullable()
Converts this Either to a nullable value, returning null for Left
Implementation
R? toNullable() => isRight ? (this as Right<L, R>).value : null;
Converts this Either to a nullable value, returning null for Left
R? toNullable() => isRight ? (this as Right<L, R>).value : null;