KuzzleUser.fromKuzzleResponse constructor

KuzzleUser.fromKuzzleResponse(
  1. Kuzzle kuzzle,
  2. 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>?;
}