InputCoin.fromJson constructor
Implementation
factory InputCoin.fromJson(Map<String, dynamic> data) {
return InputCoin(
owner: addHexPrefix(data['owner']),
amount: parseBigInt(data['amount']),
assetId: addHexPrefix(data['assetId']),
witnessIndex: data['witnessIndex'],
);
}