fromData static method

Implementation

static ExchangeRateTuple fromData(ExchangeRateTupleCommonArgs data) {
  return ExchangeRateTuple(
      double.parse(data.exchange_rate!), double.parse(data.denom!));
}