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: parseBigInt(data['amount']),
      assetId: addHexPrefix(data['assetId']));
}