getUserProperties static method

Future<Map<String, dynamic>> getUserProperties({
  1. required String connectionId,
  2. required List<String> ofTypes,
})

Implementation

static Future<Map<String, dynamic>> getUserProperties({
  required String connectionId,
  required List<String> ofTypes,
}) async {
  final result = await _channel.invokeMethod('getUserProperties', {
    'connectionId': connectionId,
    'metricTypes': ofTypes,
  });

  ExceptionHandler.checkException(result);
  return jsonDecode(result);
}