encodeWireIdEventJson function
Returns a deterministic JSON string for a single event.
Implementation
String encodeWireIdEventJson(WireIdEvent event) {
_validateTypedEvent(event);
final json = event.toJson();
wireIdEventFromJson(json);
return jsonEncode(_canonicalJson(json));
}