xor method

  1. @override
Option<T> xor(
  1. Option<T> other
)
override

Implementation

@override
Option<T> xor(Option<T> other) => other.isSome ? None() : this;