setProperties method
Properties for audience targeting and personalisation, on top of the
identify traits: setProperties({'plan': 'pro', 'coupon': 'SARA20'})
matches the console's plan conditions and fills {{coupon}}. Kept for
this launch; pass refetch: false to wait for the next fetch.
Implementation
Future<void> setProperties(Map<String, Object?> properties, {bool refetch = true}) async {
_properties.addAll(properties);
if (refetch) await fetch();
}