retrieveFamilies method
Retrieves all the families that a user belongs to.
@param {String} userId The User's id @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<FamilyResponse, void>> retrieveFamilies(String userId) {
return _start<FamilyResponse, void>()
.withUri('/api/user/family')
.withParameter('userId', userId)
.withMethod('GET')
.withResponseHandler(
defaultResponseHandlerBuilder((d) => FamilyResponse.fromJson(d)))
.go();
}