MinecraftVersion class

Constructors

MinecraftVersion(String id, MinecraftVersionType type, String url, String time, String releaseTime, String sha1, int complianceLevel)
const
MinecraftVersion.fromJson(String source)
factory
MinecraftVersion.fromMap(Map<String, dynamic> map)
factory

Properties

comparableVersion → Version
no setter
complianceLevel int
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
mainVersion String
no setter
releaseDateTime DateTime
no setter
releaseTime String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha1 String
final
time String
final
timeDateTime DateTime
no setter
type MinecraftVersionType
final
url String
final

Methods

copyWith({String? id, MinecraftVersionType? type, String? url, String? time, String? releaseTime, String? sha1, int? complianceLevel}) MinecraftVersion
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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