createSubscription function

Future<List<CubeSubscription>> createSubscription(
  1. Map<String, dynamic> params
)

params - additional parameters for request. Use class-helper CreateSubscriptionParameters to simple config request

Implementation

Future<List<CubeSubscription>> createSubscription(Map<String, dynamic> params) {
  return CreateSubscriptionQuery(params).perform();
}