serialized method

String serialized()

Returns a serialized NostrEvent from this event.

Implementation

String serialized() {
  return jsonEncode([NostrConstants.event, toMap()]);
}