cake_wallet/lib/anypay/any_pay_payment_instruction_output.dart

10 lines
318 B
Dart
Raw Permalink Normal View History

2022-06-20 19:27:28 +00:00
class AnyPayPaymentInstructionOutput {
const AnyPayPaymentInstructionOutput(this.address, this.amount);
factory AnyPayPaymentInstructionOutput.fromMap(Map<String, dynamic> obj) {
return AnyPayPaymentInstructionOutput(obj['address'] as String, obj['amount'] as int);
}
final String address;
final int amount;
}