factory Assets(Map<AssetName, BigInt> assets) { final keys = assets.keys.toList()..sort(); return Assets._({for (final i in keys) i: assets[i]!}); }