SubscribeOptions constructor

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

Implementation

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