Skip to content
7 changes: 7 additions & 0 deletions lib/models/send_view_auto_fill_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,24 @@

import 'package:decimal/decimal.dart';

import '../services/open_crypto_pay/models.dart';

class SendViewAutoFillData {
final String address;
final String contactLabel;
final Decimal? amount;
final String note;

/// When set, ConfirmTransactionView completes the OpenCryptoPay submission
/// flow for the prepared transaction.
final OpenCryptoPayCommit? openCryptoPayCommit;

SendViewAutoFillData({
required this.address,
required this.contactLabel,
this.amount,
this.note = "",
this.openCryptoPayCommit,
});

Map<String, dynamic> toJson() {
Expand Down
Loading
Loading