Category class
A class representing a cryptocurrency category with various financial metrics.
Constructors
-
Category.fromJson(Map<
String, dynamic> json) - Constructs a Category instance from a JSON map.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier for the category.
final
- marketCap → double
-
The market capitalization of the category.
final
- marketCapChange24h → double
-
The change in market capitalization over the last 24 hours.
final
- name → String
-
The name of the category.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → DateTime
-
The timestamp when the data was last updated.
final
- volume24h → double
-
The trading volume of the category over the last 24 hours.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of the Category instance.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited