VersionInfo class

Annotations
  • @JsonSerializable()

Constructors

VersionInfo.new({required String id, String? inheritsFrom, String? type, String? mainClass, String? minecraftArguments, Arguments? arguments, AssetIndex? assetIndex, String? assets, int? complianceLevel, Downloads? downloads, JavaVersion? javaVersion, List<Library>? libraries, Logging? logging, int? minimumLauncherVersion, String? releaseTime, String? time})
VersionInfo.fromJson(Map<String, dynamic> json)
factory

Properties

arguments Arguments?
final
assetIndex AssetIndex?
final
assets String?
final
complianceLevel int?
final
downloads Downloads?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
inheritsFrom String?
final
javaVersion JavaVersion?
final
libraries List<Library>?
final
logging Logging?
final
mainClass String?
final
minecraftArguments String?
final
minimumLauncherVersion int?
final
releaseTime String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time String?
final
type String?
final

Methods

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

Operators

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

Static Methods

fromJsonGeneric<T extends VersionInfo>(Map<String, dynamic> json, {T factory(Map<String, dynamic>)?}) → T?