incrementProfileValue static method

Future incrementProfileValue(
  1. String property,
  2. int value
)

Increments a numeric profile property value asynchronously.

This method increments the specified profile property by the given value. The property must contain a numeric value for this operation to work correctly.

property The name of the profile property to increment value The value to increment the property by (as a string representation of a number) Returns a Future<dynamic> that completes when the operation is done

Implementation

static Future<dynamic> incrementProfileValue(String property, int value) {
  return BlueConicPlatform.instance.incrementProfileValue(property, value);
}