getSubscriptionInfo method
Gets a subscription info.
subscriptionId is currently nullable for backwards compatibility,
in which case the first found subscription of the owner is used.
Throws NotFoundException if the subscription is not found.
Implementation
_i2.Future<_i31.SubscriptionInfo> getSubscriptionInfo({
String? subscriptionId,
}) => caller.callServerEndpoint<_i31.SubscriptionInfo>(
'plans',
'getSubscriptionInfo',
{'subscriptionId': subscriptionId},
);