MoneyEntity constructor

MoneyEntity(
  1. String rawValue, {
  2. required int fractionPart,
  3. required int integerPart,
  4. required String unnormalizedCurrency,
})

Constructor to create an instance of MoneyEntity.

Implementation

MoneyEntity(String rawValue,
    {required this.fractionPart,
    required this.integerPart,
    required this.unnormalizedCurrency})
    : super(rawValue: rawValue, type: EntityType.money);