Rate constructor

Rate(
  1. Currency from,
  2. Currency to,
  3. double rate
)

Implementation

Rate(this.from, this.to, this.rate);