LooseDirectChannelSubscription constructor

LooseDirectChannelSubscription({
  1. Runtime? subscriberRuntime,
  2. String? subscriberEntity,
  3. String? subscribedModule,
  4. String? subscribedChannel,
})

Implementation

factory LooseDirectChannelSubscription({
  Runtime? subscriberRuntime,
  $core.String? subscriberEntity,
  $core.String? subscribedModule,
  $core.String? subscribedChannel,
}) {
  final $result = create();
  if (subscriberRuntime != null) {
    $result.subscriberRuntime = subscriberRuntime;
  }
  if (subscriberEntity != null) {
    $result.subscriberEntity = subscriberEntity;
  }
  if (subscribedModule != null) {
    $result.subscribedModule = subscribedModule;
  }
  if (subscribedChannel != null) {
    $result.subscribedChannel = subscribedChannel;
  }
  return $result;
}