getUserAttributes static method

Future<Map<String, String>> getUserAttributes()

A new Map containing all the currently set user attributes, or an empty Map if no user attributes have been set.

Implementation

static Future<Map<String, String>> getUserAttributes() async {
  final attributes = await _host.getUserAttributes();
  return attributes != null
      ? Map<String, String>.from(attributes)
      : <String, String>{};
}