SubscribeOptions constructor

  1. @JsonSerializable.new(includeIfNull: false)
const SubscribeOptions({
  1. required String topic,
  2. @Default.new(TransportType.relay) TransportType transportType,
  3. @Default.new(false) bool skipSubscribe,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SubscribeOptions({
  required String topic,
  @Default(TransportType.relay) TransportType transportType,
  @Default(false) bool skipSubscribe,
}) = _SubscribeOptions;