getActivationsForProduct static method
- String productId
Returns activations found for the specified product.
Retrieves a list of ActivationInfo objects representing activations
for productId that are stored on this device.
Parameters
productId: The product identifier for which to list activations.
Returns
- A list of ActivationInfo instances for the given product.
Implementation
static List<ActivationInfo> getActivationsForProduct(final String productId) {
final OperationResult resultString = staticMethod(
'ActivationService',
'getActivationsForProduct',
args: productId,
);
return (resultString['result'] as List<dynamic>)
.map((dynamic e) => ActivationInfo.fromJson(e))
.toList();
}