UGoldUserBalanceResponse class

Constructors

UGoldUserBalanceResponse({required double balance, double? baseUnitPrice, double? buyUnitPrice, double? sellUnitPrice, bool canBuy = false, bool canSell = false, double? value, String? unit, String? priceError, DateTime? updatedAt})
UGoldUserBalanceResponse.fromJson(String str)
factory
UGoldUserBalanceResponse.fromMap(Map<String, dynamic> json)
factory

Properties

balance → double
final
baseUnitPrice → double?
final
buyUnitPrice → double?
final
canBuy → bool
final
canSell → bool
final
hashCode → int
The hash code for this object.
no setterinherited
priceError → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sellUnitPrice → double?
final
unit → String?
final
updatedAt → DateTime?
final
value → double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited