mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +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;
|
||
|
}
|