LedgerOperations.fromJson constructor
LedgerOperations.fromJson(
- Map<String, dynamic> json
)
Implementation
factory LedgerOperations.fromJson(Map<String, dynamic> json) =>
LedgerOperations(
fee: json['fee'] == null ? null : json['fee'].toDouble(),
nodeMovements: json['nodeMovements'] == null
? null
: List<NodeMovement>.from(
json['nodeMovements'].map((x) => NodeMovement.fromJson(x))),
transactionMovements: json['transactionMovements'] == null
? null
: List<TransactionMovement>.from(json['transactionMovements']
.map((x) => TransactionMovement.fromJson(x))),
unspentOutputs: json['unspentOutputs'] == null
? null
: List<UnspentOutputs>.from(
json['unspentOutputs'].map((x) => UnspentOutputs.fromJson(x))),
);