Quote class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Quote({String? quoteId, String? description, String? lnInvoice, String? onchainAddress, DateTime? expiration, int? expirationInSec, InvoiceAmount? targetAmount, InvoiceAmount? sourceAmount, ExchangeRate? exchangeRate})
Quote.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
getter/setter pair
exchangeRate ExchangeRate?
getter/setter pair
expiration DateTime?
getter/setter pair
expirationInSec int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lnInvoice String?
getter/setter pair
onchainAddress String?
getter/setter pair
quoteId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceAmount InvoiceAmount?
getter/setter pair
targetAmount InvoiceAmount?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openStrikeApp({String? invoiceId}) Future<void>
Launches the platform-specific app store to the Strike app
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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