KuzzleProfile.fromKuzzleResponse constructor

KuzzleProfile.fromKuzzleResponse(
  1. Kuzzle kuzzle,
  2. KuzzleResponse response
)

Implementation

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