SodiumVersion class

A Version number class that provides the libsodium implementation version.

Annotations
  • @immutable

Constructors

SodiumVersion(int major, int minor, String _versionString)
Default constructor
const

Properties

hashCode int
The hash code for this object.
no setteroverride
major int
Provides sodium_library_version_major.
final
minor int
Provides sodium_library_version_minor.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Provides sodium_version_string.
override

Operators

operator <(SodiumVersion other) bool
Checks if this version is less than other.
operator <=(SodiumVersion other) bool
Checks if this version is less or equal than other.
operator ==(Object other) bool
The equality operator.
override
operator >(SodiumVersion other) bool
Checks if this version is greater than other.
operator >=(SodiumVersion other) bool
Checks if this version is greater or equal than other.