build method

NostrFilter build()

Build the NostrFilter.

Implementation

NostrFilter build() {
  return NostrFilter(
    kinds: _kinds.isEmpty ? null : _kinds.toList(),
    authors: _authors.isEmpty ? null : _authors.toList(),
    e: _e.isEmpty ? null : _e.toList(),
    p: _p.isEmpty ? null : _p.toList(),
    since: _since,
    until: _until,
    limit: _limit,
  );
}