fromData static method

Implementation

static AggregateExchangeRatePrevote fromData(
    AggregateExchangeRatePrevoteCommonArgs data) {
  return AggregateExchangeRatePrevote(
      data.hash!, data.voter!, double.parse(data.submit_block!));
}