serialized method

String serialized()

Serializes the request to a json string.

Implementation

String serialized() {
  return jsonEncode([NostrConstants.close, subscriptionId]);
}