# Subscription Lists for the Flutter Plugin

Manage channel and contact subscription lists for topic-based messaging.

For information about Subscription Lists, including overview, use cases, and how to create subscription lists, see [Subscription Lists](https://www.airship.com/docs/guides/audience/segmentation/audience-lists/subscription/).

## Channel Subscription Lists

Channel subscriptions apply only to the single channel.

```dart
// Modifying channel subscription lists
Airship.channel.editSubscriptionLists()
    ..subscribe("food")
    ..unsubscribe("sports")
    ..apply();

// Fetching channel subscription lists
List<String> channelSubscriptions = await Airship.channel.subscriptionLists;
```


## Contact Subscription Lists

Contact subscriptions are set at the user-level and require a Channel scope specifying the types that the subscription list applies to.

```dart
// Modifying contact subscription lists
Airship.contact.editSubscriptionLists()
    ..subscribe("food", ChannelScope.app)
    ..unsubscribe("sports", ChannelScope.sms)
    ..apply();

// Fetching contact subscription lists
Map<String, List<ChannelScope>> contactSubscriptions = await Airship.contact.subscriptionLists;
```


## Verifying Subscription Lists

To verify that subscription lists have been set correctly, look up the channel or contact in the [Contact Management](https://www.airship.com/docs/guides/audience/contact-management/) view. You can search by Channel ID or Named User ID to view the subscription lists associated with a channel or contact.

