CurrencyDataEntity constructor

CurrencyDataEntity({
  1. num? value,
  2. required String currency,
})

Creates a new CurrencyDataEntity to have a amount of value in a specific currency

Implementation

CurrencyDataEntity({num? value, required this.currency})
    : super(value?.toDouble());