ServerStatsResponse class

This model represents postServerStats() method response.

Constructors

ServerStatsResponse({required String serverID, required int up, required bool updated, required int bumps, bool? boost, bool? upSuccessfully, int? timeToNextUpInMs, String? message})
ServerStatsResponse.parseJson(Map<String, dynamic> json)

Properties

boost bool?
Is server boosted?
final
bumps int
Total server bumps count.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Message to show for the user.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverID String
Server Id
final
timeToNextUpInMs int?
When server can be bumped next time.
final
up int
Is this bump request? (1 - yes, 0 - no)
final
updated bool
Is server updated successfully?
final
upSuccessfully bool?
Is server bumped successfully?
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