updateUserMapping method

Future<Map<String, dynamic>> updateUserMapping(
  1. Map<String, dynamic> mapping
)

Updates the internal user storage mapping.

Implementation

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

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