encodeWireIdEventJson function

String encodeWireIdEventJson(
  1. WireIdEvent event
)

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));
}