fromProto static method

Coin fromProto(
  1. Coin data
)

Implementation

static Coin fromProto(CF.Coin data) {
  return Coin(data.denom, double.parse(data.amount));
}