MojangStatus class Null safety

Contains the MojangSiteStatus of all Minecraft and Mojang sites.

Constructors

MojangStatus.empty()
MojangStatus.fromJson(List data)
Parse all MojangSiteStatuss from JSON data from the Web API.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
minecraft MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
minecraftSession MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
minecraftSkins MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
minecraftTextures MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
mojang MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
mojangAccount MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
mojangApi MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
mojangAuth MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
mojangAuthserver MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
mojangSessionserver MojangSiteStatus?
The mojang site status for a single site. See MojangSiteStatus for more details on possible values.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Methods

parse(String data) MojangSiteStatus
Gets the MojangSiteStatus from given data. data should be 'red', 'yellow', 'green'. Otherwise, MojangSiteStatus.Unavailable will be returned.