getCurrentUser method Null safety
Returns the graphQL query to check the current user.
Implementation
static String getCurrentUser() {
String ret = '''
query GetCurrentUser{
viewer{
sessionToken
}
}
''';
return ret;
}
Returns the graphQL query to check the current user.
static String getCurrentUser() {
String ret = '''
query GetCurrentUser{
viewer{
sessionToken
}
}
''';
return ret;
}