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