update static method

Future<void> update(
  1. Map<String, dynamic> consents
)

Merges the existing consents with the given consents. Duplicate keys will take the value of those passed in the API Input example: {"consents": {"collect": {"val": "y"}}}

Implementation

static Future<void> update(Map<String, dynamic> consents) =>
    _channel.invokeMethod('updateConsents', consents);