getSubscriptionInfoOfProject method

Future<SubscriptionInfo> getSubscriptionInfoOfProject({
  1. required String cloudProjectId,
})

Gets the subscription info for the subscription of the given project id.

Throws NotFoundException if the project's subscription is not found.

Implementation

_i2.Future<_i31.SubscriptionInfo> getSubscriptionInfoOfProject({
  required String cloudProjectId,
}) => caller.callServerEndpoint<_i31.SubscriptionInfo>(
  'plans',
  'getSubscriptionInfoOfProject',
  {'cloudProjectId': cloudProjectId},
);