fromList method
Fills this list starting from the List<dynamic>
list
.
This can be useful for retrieving a List<MoneyTransaction>
from a
database.
Implementation
List<MoneyTransaction> fromList(List<dynamic> list) {
for (final dynamic map in list)
add(MoneyTransaction.fromMap(map as Map<String, dynamic>));
sort();
return this;
}