PreviewConversionModel class

Inheritance

Constructors

PreviewConversionModel({num? convertedAmount, num? totalAmount, num? feeInUSD, num? feeInToCurrency, num? feeInFromCurrency, num? conversionFeeInUSD, num? conversionFeeInToCurrency, num? conversionFeeInFromCurrency, num? fromRate, num? toRate, num? intermediateUSDAmount})
PreviewConversionModel.fromJson(String source)
factory
PreviewConversionModel.fromMap(Map<String, dynamic> map)
factory

Properties

conversionFeeInFromCurrency → num?
finalinherited
conversionFeeInToCurrency → num?
finalinherited
conversionFeeInUSD → num?
finalinherited
convertedAmount → num?
finalinherited
feeInFromCurrency → num?
finalinherited
feeInToCurrency → num?
finalinherited
feeInUSD → num?
finalinherited
fromRate → num?
finalinherited
hashCode → int
The hash code for this object.
no setteroverride
intermediateUSDAmount → num?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toRate → num?
finalinherited
totalAmount → num?
finalinherited

Methods

copyWith({num? convertedAmount, num? totalAmount, num? feeInUSD, num? feeInToCurrency, num? feeInFromCurrency, num? conversionFeeInUSD, num? conversionFeeInToCurrency, num? conversionFeeInFromCurrency, num? fromRate, num? toRate, num? intermediateUSDAmount}) → PreviewConversionModel
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.
override

Operators

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