Subscription.fromJson constructor

Subscription.fromJson(
  1. Map json_
)

Implementation

Subscription.fromJson(core.Map json_)
    : this(
        deliveryConfig: json_.containsKey('deliveryConfig')
            ? DeliveryConfig.fromJson(json_['deliveryConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        exportConfig: json_.containsKey('exportConfig')
            ? ExportConfig.fromJson(
                json_['exportConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        topic:
            json_.containsKey('topic') ? json_['topic'] as core.String : null,
      );