OutputVariable.fromJson constructor

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

Implementation

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