Skip to main content

fetchOrgDetailsById method

String fetchOrgDetailsById (String orgId)

Implementation

String fetchOrgDetailsById(String orgId) \{
return '''
query\{
organizations(id: "$orgId")\{
image
_id
name
admins\{
_id
\}
description
isPublic
creator\{
_id
firstName
lastName
\}
members\{
_id
firstName
lastName
image
\}
\}
\}
''';
\}