dartz icon indicating copy to clipboard operation
dartz copied to clipboard

getOrNull for Either

Open radoslawsobies opened this issue 3 years ago • 1 comments

it would be nice to have getOrNull in Either class, similar to getOrdElse

radoslawsobies avatar Oct 13 '21 06:10 radoslawsobies

@cranst0n i think that @radoslawsobies didnt mean to have it as a getter, but instead to be able to call it with .getOrNull(), am I right? in case I'm right, I'd like to open a pr for that since this is my first time contributing to some project :)

jvsoaress avatar Mar 25 '22 23:03 jvsoaress