operator > method

bool operator >(
  1. SodiumVersion other
)

Checks if this version is greater than other.

Implementation

bool operator >(SodiumVersion other) =>
    major > other.major || major == other.major && minor > other.minor;