OutputMessage.fromJson constructor

OutputMessage.fromJson(
  1. Map<String, dynamic> data
)

Implementation

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