operator | method

ZoneEqualityComparerOptions operator |(
  1. dynamic other
)

Implementation

ZoneEqualityComparerOptions operator |(dynamic other) =>
    other is ZoneEqualityComparerOptions
        ? ZoneEqualityComparerOptions(_value | other._value)
        : other is int
            ? ZoneEqualityComparerOptions(_value | other)
            : throw ArgumentError('Must be either Options or int.');