StatsMessage class
A message containing statistics about the server.
- Inheritance
-
- Object
- LavalinkMessage
- StatsMessage
- Annotations
-
- @JsonSerializable()
Constructors
- StatsMessage({required LavalinkClient client, required String opType, required LavalinkStats stats})
- Create a new StatsMessage.
-
StatsMessage.fromJson(Map<
String, Object?> json) -
factory
Properties
- client → LavalinkClient
-
The client this message was for.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- opType → String
-
The type of this message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats → LavalinkStats
-
The statistics.
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