GetSubscriptionResult constructor

const GetSubscriptionResult({
  1. required DeliveryConfigResponse deliveryConfig,
  2. required ExportConfigResponse exportConfig,
  3. required String name,
  4. required String topic,
})

Creates a new GetSubscriptionResult. deliveryConfig The settings for this subscription's message delivery. exportConfig If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination. name The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id} topic The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

Implementation

const GetSubscriptionResult({
  required this.deliveryConfig,
  required this.exportConfig,
  required this.name,
  required this.topic,
});