subscription method

  1. @override
Future<void> subscription({
  1. required SubscriptionRequest subscription,
})
override

Implementation

@override
Future<void> subscription({required SubscriptionRequest subscription}) async {
  final payload = subscriptionToJson(subscription);
  _postRequest(endpoint: '$version/subscription/', payload: payload);
}