setProperties method

Future<void> setProperties(
  1. Map<String, dynamic> properties
)

Sets user properties for the current user.

The properties parameter is a map of key-value pairs. Values support String, int, double, DateTime, bool.

Returns a Future that completes when the properties have been set.

Implementation

Future<void> setProperties(Map<String, dynamic> properties) async {
  await NativebrikBridgePlatform.instance.setUserProperties(properties);
}