moneys 2.4.1
moneys: ^2.4.1 copied to clipboard
A set of classes useful for managing money, for save in a database and retrieve from it.
2.4.1 #
Release date: 2021-06-29.
- Added
List<Currency> transactionsCurrencies()method toBudgetclass.
2.4.0 #
Release date: 2021-06-29.
- Added
double availablePercent()method to theBudgetclass.
2.3.0 #
Release date: 2021-06-28.
- Overridden
ExchangeRatetoString()method. - Added
factory ExchangeRate.fromString(String string)constructor. - Fixed a typo in the
ExchangeRatedocumentation.
2.2.0 #
Release date: 2021-06-19.
- Added
Productclass.
2.1.1 #
Release date: 2021-06-16.
- Added
emojiFlaggetter extension method forCurrencyenumeration. - Minimum Flutter version was updated to
2.2.2. - Updated all the dependencies.
2.1.0 #
2.0.0 #
Release date: 2021-05-07.
- Breaking change. The
MoneyTransactionsclass has been removed. The methods of that class are now available as extension methods forList<MoneyTransaction>. - Added extension methods for
List<ExchangeRate>. - Now in the
whoseMethodWas(extension method onList<MoneyTransaction>) method it is possible to return a normalized list. Also, the result is already sorted. - The result of the following
List<MoneyTransaction>extension methods is already normalized and sorted:withValueEqualTo.withValueGreaterThan.withValueGreaterThanOrEqualTo.withValueLessThan.withValueLessThanOrEqualTo.
1.4.0 #
Release date: 2021-05-06.
- Added
copyWithto theBudgetclass. - Added
copyWithto theExchangeRateclass. - Added
copyWithto theMoneyclass. - Added
copyWithto theMoneyTransactionclass.
1.3.5 #
Release date: 2021-05-06.
- Fixed a minor issue.
1.3.4 #
Release date: 2021-05-06.
- In the
MoneyTransaction.fromMap(Map<String, dynamic> map)constructor, theList<dynamic> map['tags']list is now castedas List<String>.
1.3.3 #
Release date: 2021-05-05.
- Added
MoneyTransactions.fromListOfMoneyTransaction(List<MoneyTransaction> listOfMoneyTransaction)constructor to theMoneyTransactionsclass.
1.3.2 #
Release date: 2021-04-29.
- Added
dateTimeproperty toExchangeRateclass. This represents the date and the time in which the rate was retrieved.
1.3.1+1 #
Release date: 2021-04-29.
- Exposed
ExchangeRateclass.
1.3.1 #
Release date: 2021-04-29.
- Added the
ExchangeRateclass. This class stores the rate value in order to convert a money of a currency into a money of another one. - Added the
convert()method to theMoneyclass.
1.3.0 #
Release date: 2021-04-22.
- Changed
MoneyTransactions.fromListOfMaps(List<Map<String, dynamic>> listOfMaps)method in order to accept aList<dynamic> listOfMapsparameter. - Fixed money_transactions_test.
1.2.1 #
Release date: 2021-04-12.
- Changed
incomeOrExpenseMoneyTransactionproperty name intoexpenseOrIncome.
1.2.0 #
Release date: 2021-04-09.
- Updated dependencies.
- Breaking change. Changed
TransactionMethodenumeration name intoMoneyTransactionMethodin order to contextualize the term “transaction”.
1.1.0 #
Release date: 2021-02-23.
- Breaking change. Changed the
Paymentclass name intoTransaction. This is because the word “payment” conveys the idea of an expense, while thePaymentclass aims to represent both expenses and income. - Added
String budgetName,String description,Place place(Placeclass is from geos package) andList<String> tagsfields to theTransactionclass.
1.0.1 #
Release date: 2021-02-19.
- Changed the
string()extension method forPaymentMethodenumeration.
1.0.0 #
Release date: 2021-02-17.
- Stable null safety release.
0.1.0-nullsafety.2 #
Release date: 2021-02-12.
- Breaking change. Changed
IncomeOrExpenseclass name intoExpenseOrIncome.
0.1.0-nullsafety.1 #
Release date: 2021-01-03.
- First pre-release.