Version class

Information about a Lavalink version.

Annotations
  • @JsonSerializable()

Constructors

Version({required String semver, required int major, required int minor, required int patch, required String? preRelease, required String? build})
Create a new Version.
Version.fromJson(Map<String, Object?> json)
factory

Properties

build String?
The build information.
final
hashCode int
The hash code for this object.
no setterinherited
major int
The major version.
final
minor int
The minor version.
final
patch int
The patch version.
final
preRelease String?
The pre-release information.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semver String
The version expressed as a semantic versioning string.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited