LpUnderlyingTokens class

A class representing the underlying tokens of a liquidity pool (LP) token.

Annotations
  • @freezed

Constructors

LpUnderlyingTokens({required String symbol, @JsonKey(fromJson: nameFromJson) required String name, @JsonKey(fromJson: addressFromJson) required String address})
Constructs a new LpUnderlyingTokens instance.
factory
LpUnderlyingTokens.fromJson(Map<String, dynamic> json)
Creates an LpUnderlyingTokens instance from a JSON object.
factory

Properties

address String
no setterinherited
copyWith → $LpUnderlyingTokensCopyWith<LpUnderlyingTokens>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol 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