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