operator * method

NmPrice operator *(
  1. num factor
)

This price times factor, rounded to minor units.

Implementation

NmPrice operator *(num factor) => NmPrice((minor * factor).round(), currency);