getSubscriptions method

Future<List<Subscription>> getSubscriptions()

Returns an object of type Subscription that contains the subscription ID of the cohort to which the device is currently subscribed to, if multiple devices are subscribed using the same subscriptionId it returns all the device IDs.

Implementation

Future<List<Subscription>> getSubscriptions() async {
  return _deviceRepository.getSubscriptions();
}