mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 12:39:37 +00:00
13 lines
443 B
Dart
13 lines
443 B
Dart
class TransferResult {
|
|
final String txHash;
|
|
final int txSize;
|
|
final String txUnsignedHex;
|
|
|
|
TransferResult({required this.txHash, required this.txSize, required this.txUnsignedHex});
|
|
|
|
factory TransferResult.fromJson(Map<String, dynamic> json) => TransferResult(
|
|
txHash: json['tx_hash'] as String? ?? '',
|
|
txSize: json['tx_size'] as int? ?? 0,
|
|
txUnsignedHex: json['tx_unsigned_hex'] as String? ?? '',
|
|
);
|
|
}
|