mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-29 15:09:23 +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;
|
||
|
}
|