profileRemoveMultiValues method Null safety

Future<void> profileRemoveMultiValues(
  1. String key,
  2. List values
)

Remove a collection of unique values from a multi-value user profile property

If the key currently contains a scalar value, prior to performing the remove operation the key will be promoted to a multi-value property with the current value cast to a string. If the multi-value property is empty after the remove operation, the key will be removed.

Implementation

static Future<void> profileRemoveMultiValues(String key, List values) async {
  return await _channel.invokeMethod(
      'profileRemoveMultiValues', {'key': key, 'values': values});
}