getProfileMapping method

Future<Map<String, dynamic>> getProfileMapping()

Gets the mapping of the internal security profiles collection.

Implementation

Future<Map<String, dynamic>> getProfileMapping() async {
  final response = await kuzzle.query(KuzzleRequest(
    controller: name,
    action: 'getProfileMapping',
  ));

  return response.result as Map<String, dynamic>;
}