UGoldUserBalanceResponse constructor

UGoldUserBalanceResponse({
  1. required double balance,
  2. double? baseUnitPrice,
  3. double? buyUnitPrice,
  4. double? sellUnitPrice,
  5. bool canBuy = false,
  6. bool canSell = false,
  7. double? value,
  8. String? unit,
  9. String? priceError,
  10. DateTime? updatedAt,
})

Implementation

UGoldUserBalanceResponse({
  required this.balance,
  this.baseUnitPrice,
  this.buyUnitPrice,
  this.sellUnitPrice,
  this.canBuy = false,
  this.canSell = false,
  this.value,
  this.unit,
  this.priceError,
  this.updatedAt,
});