DVDatabaseServerVersion class final

A server's version, compared numerically.

Implemented types

Constructors

DVDatabaseServerVersion(int major, [int minor = 0, int patch = 0])
const

Properties

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

Methods

compareTo(DVDatabaseServerVersion other) → int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator <(DVDatabaseServerVersion other) → bool
operator ==(Object other) → bool
The equality operator.
override
operator >=(DVDatabaseServerVersion other) → bool

Static Methods

parse(String reported) → DVDatabaseServerVersion
tryParse(String reported) → DVDatabaseServerVersion?
The leading major[.minor[.patch]] of what a server reports, or null when there is none.