factory MultiAsset.fromJson(Map<String, dynamic> json) { return MultiAsset({ for (final i in json.entries) PolicyID.fromHex(i.key): Assets.fromJson(i.value) }); }