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 toBudget
class.
2.4.0 #
Release date: 2021-06-29.
- Added
double availablePercent()
method to theBudget
class.
2.3.0 #
Release date: 2021-06-28.
- Overridden
ExchangeRate
toString()
method. - Added
factory ExchangeRate.fromString(String string)
constructor. - Fixed a typo in the
ExchangeRate
documentation.
2.2.0 #
Release date: 2021-06-19.
- Added
Product
class.
2.1.1 #
Release date: 2021-06-16.
- Added
emojiFlag
getter extension method forCurrency
enumeration. - 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
MoneyTransactions
class 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
copyWith
to theBudget
class. - Added
copyWith
to theExchangeRate
class. - Added
copyWith
to theMoney
class. - Added
copyWith
to theMoneyTransaction
class.
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 theMoneyTransactions
class.
1.3.2 #
Release date: 2021-04-29.
- Added
dateTime
property toExchangeRate
class. This represents the date and the time in which the rate was retrieved.
1.3.1+1 #
Release date: 2021-04-29.
- Exposed
ExchangeRate
class.
1.3.1 #
Release date: 2021-04-29.
- Added the
ExchangeRate
class. 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 theMoney
class.
1.3.0 #
Release date: 2021-04-22.
- Changed
MoneyTransactions.fromListOfMaps(List<Map<String, dynamic>> listOfMaps)
method in order to accept aList<dynamic> listOfMaps
parameter. - Fixed money_transactions_test.
1.2.1 #
Release date: 2021-04-12.
- Changed
incomeOrExpense
MoneyTransaction
property name intoexpenseOrIncome
.
1.2.0 #
Release date: 2021-04-09.
- Updated dependencies.
- Breaking change. Changed
TransactionMethod
enumeration name intoMoneyTransactionMethod
in order to contextualize the term “transaction”.
1.1.0 #
Release date: 2021-02-23.
- Breaking change. Changed the
Payment
class name intoTransaction
. This is because the word “payment” conveys the idea of an expense, while thePayment
class aims to represent both expenses and income. - Added
String budgetName
,String description
,Place place
(Place
class is from geos package) andList<String> tags
fields to theTransaction
class.
1.0.1 #
Release date: 2021-02-19.
- Changed the
string()
extension method forPaymentMethod
enumeration.
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
IncomeOrExpense
class name intoExpenseOrIncome
.
0.1.0-nullsafety.1 #
Release date: 2021-01-03.
- First pre-release.