SDK
SDK Dart Null Safety v3.x
2

updateProfileMapping #

Updates the internal profile storage mapping.


Copied to clipboard!
Future<Map<String, dynamic>> updateProfileMapping(
      Map<String, dynamic> mapping)

Property Type Description
mapping
Map<String, dynamic>
Profile collection mapping definition

Return #

Returns an object representing the new mapping.

Usage #

Copied to clipboard!
final result = await kuzzle.security.updateProfileMapping({
  'properties': {
    'description': { 'type': 'text' }
  }
});
/*
  {
    properties: {
      description: { type: 'text' }
    }
  }
*/