mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-26 20:26:02 +00:00
code readability
This commit is contained in:
parent
da9b921ddc
commit
d3b3092281
1 changed files with 3 additions and 2 deletions
|
@ -5,8 +5,9 @@ import 'package:tuple/tuple.dart';
|
||||||
class AggregateCurrency {
|
class AggregateCurrency {
|
||||||
final Map<String, Currency?> _map = {};
|
final Map<String, Currency?> _map = {};
|
||||||
|
|
||||||
AggregateCurrency(
|
AggregateCurrency({
|
||||||
{required List<Tuple2<String, Currency>> exchangeCurrencyPairs}) {
|
required List<Tuple2<String, Currency>> exchangeCurrencyPairs,
|
||||||
|
}) {
|
||||||
assert(exchangeCurrencyPairs.isNotEmpty);
|
assert(exchangeCurrencyPairs.isNotEmpty);
|
||||||
|
|
||||||
for (final item in exchangeCurrencyPairs) {
|
for (final item in exchangeCurrencyPairs) {
|
||||||
|
|
Loading…
Reference in a new issue