mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-10-31 17:37:41 +00:00
10 lines
318 B
Dart
10 lines
318 B
Dart
|
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;
|
||
|
}
|