TokenIndexResponse class

Represents the response model for WoW Token index information.

This class is immutable and encapsulates data related to WoW Token index, including links, last updated timestamp, and current price.

Annotations
  • @immutable

Constructors

TokenIndexResponse({required Links links, required int lastUpdatedTimestamp, required int price})
Constructs a TokenIndexResponse instance.
const
TokenIndexResponse.fromJson(Map<String, dynamic> json)
Creates a TokenIndexResponse instance from a JSON map json.
factory
TokenIndexResponse.fromRawJson(String str)
Creates a TokenIndexResponse instance from a raw JSON string str.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
lastUpdatedTimestamp int
Timestamp indicating when the token index data was last updated.
final
Links associated with the token index response.
final
price int
Current price of the WoW Token.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this TokenIndexResponse instance to a JSON map.
toRawJson() String
Converts this TokenIndexResponse instance to a raw JSON string representation.
toString() String
A string representation of this object.
override

Operators

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