getRoleMapping method

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

Gets the mapping of the internal security role collection.

Implementation

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

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