OutputChange.fromJson constructor

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

Implementation

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