getProductIds static method

List<String> getProductIds({
  1. bool includeExpired = false,
})

Returns the product identifiers found on the device.

Parameters

  • includeExpired: When true, include product identifiers for expired products as well. Defaults to false.

Returns

  • A list of product identifier strings present on the device.

Also see:

Implementation

static List<String> getProductIds({final bool includeExpired = false}) {
  final OperationResult resultString = staticMethod(
    'ActivationService',
    'getProductIds',
    args: includeExpired,
  );

  return (resultString['result'] as List<dynamic>).cast<String>();
}