copyWith method

NostrRequest copyWith({
  1. String? subscriptionId,
  2. List<NostrFilter>? filters,
})

Implementation

NostrRequest copyWith({
  String? subscriptionId,
  List<NostrFilter>? filters,
}) {
  return NostrRequest(
    subscriptionId: subscriptionId ?? this.subscriptionId,
    filters: filters ?? this.filters,
  );
}