KuzzleProfile.fromKuzzleResponse constructor
KuzzleProfile.fromKuzzleResponse(
- Kuzzle kuzzle,
- KuzzleResponse response
Implementation
KuzzleProfile.fromKuzzleResponse(this.kuzzle, KuzzleResponse response) {
uid = response.result['_id'] as String?;
policies = response.result['_source']['policies'] as List<dynamic>?;
}