mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-27 14:09:50 +00:00
13 lines
423 B
Dart
13 lines
423 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,
|
|
txUnsignedHex: json['tx_unsigned_hex'] as String,
|
|
);
|
|
}
|