serialized method

String serialized()

Implementation

String serialized() {
  return jsonEncode([
    NostrConstants.count,
    subscriptionId,
    eventsFilter.toMap(),
  ]);
}