TokenList class
The TokenList class holds the token list data.
- Annotations
-
- @freezed
Constructors
-
TokenList({required String message, required String status, required List<
TokenDetails> result}) -
Default constructor for the TokenList class.
factory
-
TokenList.fromJson(Map<
String, dynamic> json) -
Constructs a new TokenList instance from the provided JSON object.
factory
Properties
-
copyWith
→ $TokenListCopyWith<
TokenList> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
no setterinherited
-
result
→ List<
TokenDetails> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited