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