make static method
Implementation
static String make(List hashData) {
String serializedEvent = json.encode([
...hashData.map(
(d) => switch (d) {
FractalCtrl c => c.name,
EventFractal f => f.hash,
Object o => o,
null => '',
},
),
]);
final h = Uint8List.fromList(
sha256.convert(utf8.encode(serializedEvent)).bytes,
);
return bs58check.encode(h);
}