moneys 2.4.1 copy "moneys: ^2.4.1" to clipboard
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 to Budget class.

2.4.0 #

Release date: 2021-06-29.

  • Added double availablePercent() method to the Budget 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 for Currency enumeration.
  • Minimum Flutter version was updated to 2.2.2.
  • Updated all the dependencies.

2.1.0 #

Release date: 2021-05-20.

  • Removed pedantic developer dependency.
  • This now uses the newer lints developer dependency.
  • Minimum Dart SDK was updated to 2.13.0 version and Flutter to 2.0.0 version.

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 for List<MoneyTransaction>.
  • Added extension methods for List<ExchangeRate>.
  • Now in the whoseMethodWas (extension method on List<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 the Budget class.
  • Added copyWith to the ExchangeRate class.
  • Added copyWith to the Money class.
  • Added copyWith to the MoneyTransaction 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, the List<dynamic> map['tags'] list is now casted as List<String>.

1.3.3 #

Release date: 2021-05-05.

  • Added MoneyTransactions.fromListOfMoneyTransaction(List<MoneyTransaction> listOfMoneyTransaction) constructor to the MoneyTransactions class.

1.3.2 #

Release date: 2021-04-29.

  • Added dateTime property to ExchangeRate 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 the Money class.

1.3.0 #

Release date: 2021-04-22.

  • Changed MoneyTransactions.fromListOfMaps(List<Map<String, dynamic>> listOfMaps) method in order to accept a List<dynamic> listOfMaps parameter.
  • Fixed money_transactions_test.

1.2.1 #

Release date: 2021-04-12.

  • Changed incomeOrExpense MoneyTransaction property name into expenseOrIncome.

1.2.0 #

Release date: 2021-04-09.

  • Updated dependencies.
  • Breaking change. Changed TransactionMethod enumeration name into MoneyTransactionMethod in order to contextualize the term “transaction”.

1.1.0 #

Release date: 2021-02-23.

  • Breaking change. Changed the Payment class name into Transaction. This is because the word “payment” conveys the idea of an expense, while the Payment class aims to represent both expenses and income.
  • Added String budgetName, String description, Place place (Place class is from geos package) and List<String> tags fields to the Transaction class.

1.0.1 #

Release date: 2021-02-19.

  • Changed the string() extension method for PaymentMethod 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 into ExpenseOrIncome.

0.1.0-nullsafety.1 #

Release date: 2021-01-03.

  • First pre-release.
9
likes
100
pub points
36%
popularity

Publisher

unverified uploader

A set of classes useful for managing money, for save in a database and retrieve from it.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, geos, google_maps_flutter, intl

More

Packages that depend on moneys