listOrgs static method
list organizations that current user is part of
Implementation
static Future<Result> listOrgs() async {
if (currentUser != null) {
return await get('/api/v2/users/' + currentUser!.id + "/orgs");
} else {
Result result = Result();
result.code = 500;
return result;
}
}