code readability

This commit is contained in:
julian 2023-04-28 14:29:30 -06:00
parent da9b921ddc
commit d3b3092281

View file

@ -5,8 +5,9 @@ import 'package:tuple/tuple.dart';
class AggregateCurrency {
final Map<String, Currency?> _map = {};
AggregateCurrency(
{required List<Tuple2<String, Currency>> exchangeCurrencyPairs}) {
AggregateCurrency({
required List<Tuple2<String, Currency>> exchangeCurrencyPairs,
}) {
assert(exchangeCurrencyPairs.isNotEmpty);
for (final item in exchangeCurrencyPairs) {