getProperties method

Future<Map<String, String>?> getProperties()

Retrieves the current user's properties.

Returns a Future that completes with a Map of user properties, where both keys and values are Strings. Returns null if no properties are set or if the user is not identified.

Implementation

Future<Map<String, String>?> getProperties() async {
  return await NativebrikBridgePlatform.instance.getUserProperties();
}